Skip to Content

modeling.m2t.acceleo

About this document

This document is a R notebook, dynamically created from the numbers extracted on the project. It lists all datasets published for the project, providing basic numbers, figures and a quick summary, and serves as a test case to make sure that all the required data is present and roughly consistent with requirements. All plots and tables are computed from the actual data as provided in the downloads.

To re-execute the document, simply start a R session, load rmarkdown and render the page with the project ID as a parameter:

require('rmarkdown')
render("datasets_report.Rmarkdown", params = list(project_id = "modeling.m2t.acceleo"), output_format="html_document")

This website uses the blogdown R package, which provides a different output_format for the hugo framework.

This report was generated on 2022-08-07.

Downloads

All data is retrieved from Alambic, an open-source framework for development data extraction and processing.

This project’s analysis page can be found on the Alambic instance for the Eclipse forge, at https://eclipse.alambic.io/projects/modeling.m2t.acceleo.

Downloads are composed of gzip’d CSV and JSON files. CSV files always have a header to name the fields, which makes it easy to import in analysis software like R:

data <- read.csv(file='myfile.csv', header=T)
names(data)

List of datasets generated for the project:

  • Git
    • Git Commits (CSV) – Full list of commits with id, message, time, author, committer, and added, deleted and modifed lines.
    • Git Commits Evol (CSV) – Evolution of number of commits and authors by day.
    • Git Log (TXT) – the raw export of git log.
  • Bugzilla
  • Eclipse Forums
    • Forums Posts (CSV) – list of all forum posts for this project.
    • Forums threads (CSV) – list of all forum threads for this project.
  • Jenkins CI
  • Eclipse PMI
    • PMI Checks (CSV) – list of all checks applied to the Project Management Infrastructure entries for the project.
  • ScanCode

Git

Git commits

Download: git_commits_evol.csv.gz

data <- read.csv(file=file_git_commits_evol, header=T)

File is git_commits_evol.csv, and has 3 columns for 993 entries.

data$commits_sum <- cumsum(data$commits)
data.xts <- xts(x = data[,c('commits_sum', 'commits', 'authors')], order.by=as.POSIXct(as.character(data[,c('date')]), format="%Y-%m-%d"))

time.min <- index(data.xts[1,])
time.max <- index(data.xts[nrow(data.xts)])
all.dates <- seq(time.min, time.max, by="days")
empty <- xts(order.by = all.dates)

merged.data <- merge(empty, data.xts, all=T)
merged.data[is.na(merged.data) == T] <- 0

p <-dygraph(merged.data[,c('commits')],
        main = paste('Daily commits for ', project_id, sep=''),
        width = 800, height = 250 ) %>%
      dyRangeSelector()
p


Git log

Download: git_log.txt.gz

File is git_log.txt, and full log has 27463 lines.


Bugzilla

Bugzilla issues

Download: bugzilla_issues.csv.gz

data <- read.csv(file=file_bz_issues, header=T)

File is bugzilla_issues.csv, and has 17 columns for 985 issues.

Bugzilla open issues

Download: bugzilla_issues_open.csv.gz

data <- read.csv(file=file_bz_issues_open, header=T)

File is bugzilla_issues_open.csv, and has 17 columns for 105 issues (all open).

Bugzilla evolution

Download: bugzilla_evol.csv.gz

data <- read.csv(file=file_bz_evol, header=T)

File is bugzilla_evol.csv, and has 3 columns for 642 weeks.

Let’s try to plot the monthly number of submissions for the project:

Versions

Download: bugzilla_versions.csv.gz

data <- read.csv(file=file_bz_versions, header=T)

File is bugzilla_versions.csv, and has 2 columns for 16 weeks.

Components

Download: bugzilla_components.csv.gz

data <- read.csv(file=file_bz_components, header=T)

File is bugzilla_components.csv, and has 2 columns for 6 weeks.

data.sorted <- data[order(data$Bugs, decreasing = T),]

g <- gvisColumnChart(data.sorted, options=list(title='List of product components', legend="{position: 'none'}", width="automatic", height="300px"))
plot(g)

Eclipse Forums

Forums posts

Download: eclipse_forums_posts.csv.gz

data <- read.csv(file=file_forums_posts, header=T)

File is eclipse_forums_posts.csv, and has 6 columns for 9640 posts. The evolution of posts

data$created.date <- as.POSIXct(data$created_date, origin="1970-01-01")
posts.xts <- xts(data, order.by = data$created.date)

time.min <- index(posts.xts[1,])
time.max <- index(posts.xts[nrow(posts.xts)])
all.dates <- seq(time.min, time.max, by="weeks")
empty <- xts(order.by = all.dates)

merged.data <- merge(empty, posts.xts$id, all=T)
merged.data[is.na(merged.data) == T] <- 0

posts.weekly <- apply.weekly(x=merged.data, FUN = nrow)
names(posts.weekly) <- c("posts")

p <- dygraph(
  data = posts.weekly[-1,],
  main = paste('Weekly forum posts for ', project_id, sep=''),
  width = 800, height = 250 ) %>%
  dyAxis("x", drawGrid = FALSE) %>%
  dySeries("posts", label = "Weekly posts") %>%
  dyOptions(stepPlot = TRUE) %>%
  dyRangeSelector()
p

The list of the 10 last active posts on the forums:

data$created.date <- as.POSIXct(data$created_date, origin="1970-01-01")
posts.table <- head(data[,c('id', 'subject', 'created.date', 'author_id')], 10)
posts.table$subject <- paste('<a href="', posts.table$html_url, '">', posts.table$subject, '</a>', sep='')
posts.table$created.date <- as.character(posts.table$created.date)
names(posts.table) <- c('ID', 'Subject', 'Post date', 'Post author')

print(
    xtable(head(posts.table, 10),
        caption = paste('10 most recent posts on', project_id, 'forum.', sep=" "),
        digits=0, align="lllll"), type="html",
    html.table.attributes='class="table table-striped"',
    caption.placement='bottom',
    include.rownames=FALSE,
    sanitize.text.function=function(x) { x }
)
10 most recent posts on modeling.m2t.acceleo forum.
ID Subject Post date Post author
1854035 Re: Acceleo 4.0.0 ? 2022-07-28 18:18:04 8586
1854022 Acceleo 4.0.0 ? 2022-07-28 10:23:14 202074
1854018 Re: Acceleo getValue problem with port metaclass 2022-07-28 08:18:17 202074
1853424 Re: Acceleo getValue problem with port metaclass 2022-07-01 11:37:14 8586
1853369 Acceleo getValue problem with port metaclass 2022-06-29 14:33:47 234674
1853330 Re: \[Acceleo\] Deploying Plug-In Problem 2022-06-28 06:28:18 8586
1853328 Re: \[Acceleo\] Deploying Plug-In Problem 2022-06-28 03:39:09 234232
1853323 Re: \[Acceleo\] Deploying Plug-In Problem 2022-06-27 19:11:57 8586
1853305 \[Acceleo\] Deploying Plug-In Problem 2022-06-27 10:10:06 234232
1852889 Re: \[Acceleo\] Execute Multiple model 2022-06-09 15:10:00 234557


Forums threads

Download: eclipse_forums_threads.csv.gz

data <- read.csv(file=file_forums_threads, header=T)

File is eclipse_forums_threads.csv, and has 8 columns for 2268 threads. A wordcloud with the main words used in threads is presented below.

The list of the 10 last active threads on the forums:

data$last.post.date <- as.POSIXct(data$last_post_date, origin="1970-01-01")
threads.table <- head(data[,c('id', 'subject', 'last.post.date', 'last_post_id', 'replies', 'views')], 10)
threads.table$subject <- paste('<a href="', threads.table$html_url, '">', threads.table$subject, '</a>', sep='')
threads.table$last.post.date <- as.character(threads.table$last.post.date)
names(threads.table) <- c('ID', 'Subject', 'Last post date', 'Last post author', 'Replies', 'Views')

print(
    xtable(threads.table,
        caption = paste('10 last active threads on', project_id, 'forum.', sep=" "),
        digits=0, align="lllllll"), type="html",
    html.table.attributes='class="table table-striped"',
    caption.placement='bottom',
    include.rownames=FALSE,
    sanitize.text.function=function(x) { x }
)
10 last active threads on modeling.m2t.acceleo forum.
ID Subject Last post date Last post author Replies Views
1111312 Acceleo 4.0.0 ? 2022-07-28 18:18:04 1854035 1 902
1111093 Acceleo getValue problem with port metaclass 2022-07-28 08:18:17 1854018 2 2152
1111074 \[Acceleo\] Deploying Plug-In Problem 2022-06-28 06:28:18 1853330 3 1887
1110812 M2T 2022-05-19 19:02:51 1852519 3 2014
1110686 Question about loss of traceability in Acceleo 2022-04-28 11:42:02 1852075 3 1152
1110553 \[Acceleo\] Execute Multiple model 2022-06-09 15:10:00 1852889 2 1233
1110441 \[Acceleo\] Execute without plugin 2022-03-31 13:52:56 1851234 4 1041
1110407 Generating seperate folders for the generated code 2022-03-27 17:31:53 1851088 2 927
1110322 Compilation of Acceleo module failing using acceleo maven plugin 2022-03-17 08:46:23 1850794 1 1515
1110248 Acceleo or Xtend , to be used for model to text transformation 2022-03-08 13:47:48 1850560 2 819

Jenkins

Builds

Download: jenkins_builds.csv.gz

data <- read.csv(file=file_jenkins_builds, header=T)

File is jenkins_builds.csv, and has 7 columns for 78 commits.

ID Name Time Result
356 acceleo-aql-gerrit \#356 1.595834e+12 SUCCESS
2016-11-18\_09-47-26 acceleo-launcher-examples \#13 1.479480e+12 FAILURE
2016-06-24\_05-25-01 acceleo-launcher-examples \#12 1.466760e+12 SUCCESS
2016-06-22\_07-54-51 acceleo-launcher-examples \#11 1.466596e+12 SUCCESS
2016-04-26\_11-34-58 acceleo-launcher-examples \#10 1.461685e+12 SUCCESS
2016-04-26\_11-30-00 acceleo-launcher-examples \#9 1.461685e+12 FAILURE
2016-04-26\_11-09-43 acceleo-launcher-examples \#8 1.461683e+12 SUCCESS
2016-04-26\_09-48-13 acceleo-launcher-examples \#7 1.461678e+12 FAILURE
2016-01-27\_11-48-44 acceleo-launcher-examples \#6 1.453913e+12 SUCCESS
2016-01-27\_11-42-55 acceleo-launcher-examples \#5 1.453913e+12 FAILURE


Jobs

Download: jenkins_jobs.csv.gz

data <- read.csv(file=file_jenkins_jobs, header=T)

File is jenkins_jobs.csv, and has 15 columns for 24 commits.

Name Colour Last build time Health report
acceleo-aql-gerrit blue 1.595834e+12 100
acceleo-launcher-examples disabled 1.479480e+12 60
acceleo-maintenance-3.7 blue 1.613727e+12 100
acceleo-master blue 1.613460e+12 100
acceleo-master-gerrit disabled 1.421139e+12 98
acceleo-master-new blue 1.623750e+12 100
juno-maven-dependencies-deploy disabled 1.424244e+12 100
kepler-maven-dependencies-deploy disabled 1.516865e+12 100
kepler-sr2-maven-dependencies-deploy disabled 1.516865e+12 100
luna-sr1-maven-dependencies-deploy disabled 1.517383e+12 100


PMI

PMI Checks

Download: eclipse_pmi_checks.csv.gz

data <- read.csv(file=file_pmi_checks, header=T)

File is eclipse_pmi_checks.csv, and has 3 columns for 17 commits.

checks.table <- head(data[,c('Description', 'Value', 'Results')], 10)

print(
    xtable(checks.table,
        caption = paste('Extract of the 10 first PMI checks for ', 
                        project_id, '.', sep=" "),
        digits=0, align="llll"), type="html",
    html.table.attributes='class="table table-striped"',
    caption.placement='bottom',
    include.rownames=FALSE,
    sanitize.text.function=function(x) { x }
)
Extract of the 10 first PMI checks for modeling.m2t.acceleo .
Description Value Results
Checks if the URL can be fetched using a simple get query. https://bugs.eclipse.org/bugs/enter\_bug.cgi?product=M2T OK: Create URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. https://bugs.eclipse.org/bugs/buglist.cgi?product=M2T OK: Query URL could be successfully fetched.
Sends a get request to the given CI URL and looks at the headers in the response (200 404..). Also checks if the URL is really a Hudson instance (through a call to its API). Failed: could not get CI URL \[\].
Checks if the Dev ML URL can be fetched using a simple get query. https://dev.eclipse.org/mailman/listinfo/m2t-dev OK: Dev ML URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. Failed: no URL defined for documentation\_url.
Checks if the URL can be fetched using a simple get query. http://www.eclipse.org/modeling/m2t/downloads/ OK: Download URL could be successfully fetched.
Checks if the Forums URL can be fetched using a simple get query. http://www.eclipse.org/forums/eclipse.modeling.m2t OK. Forum \[eclipse.modeling.m2t\] correctly defined.\\OK: Forum \[eclipse.modeling.m2t\] URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. http://www.eclipse.org/m2t/docs.html OK: Documentation URL could be successfully fetched.
Checks if the Mailing lists URL can be fetched using a simple get query. Failed: no mailing list defined.
Checks if the URL can be fetched using a simple get query. http://www.eclipse.org/modeling/m2t/project-info/plan-helios.xml OK: Plan URL could be successfully fetched.

ScanCode

Authors

Download: scancode_authors.csv.gz

data <- read.csv(file=file_sc_authors, header=T)

File is scancode_authors.csv, and has 2 columns for 5 commits.

Author Count
unknown 4976
Yvan Lussaud 124
Florent Latombe 41
content Acceleo 2
Romain Guider 1
suppressPackageStartupMessages(library(googleVis))
options(gvis.plot.tag='chart')

data.sorted <- data[order(data$count, decreasing = T),]

p <- gvisPieChart(data.sorted,
              options = list(
                title=paste("Authors for project `r project_id` ", sep=""),
                sliceVisibilityThreshold=0, height=280,
                pieHole= 0.4))

print(p, 'chart')


Copyrights

Download: scancode_copyrights.csv.gz

data <- read.csv(file=file_sc_copyrights, header=T)

File is scancode_copyrights.csv, and has 2 columns for 7 commits.

Copyrights Count
unknown 3916
Copyright (c) Obeo 1177
Copyright (c) Obeo, France 15
Copyright Twitter, Inc 13
Copyright (c) Obeo and others 2
Copyright The Dojo Foundation 2
Copyright John Resig 1
suppressPackageStartupMessages(library(googleVis))
options(gvis.plot.tag='chart')

data.sorted <- data[order(data$count, decreasing = T),]

p <- gvisPieChart(data.sorted,
              options = list(
                title=paste("Copyrights for project `r project_id` ", sep=""),
                sliceVisibilityThreshold=0, height=280,
                pieHole= 0.4))

print(p, 'chart')


Holders

Download: scancode_holders.csv.gz

data <- read.csv(file=file_sc_holders, header=T)

File is scancode_holders.csv, and has 2 columns for 8 commits.

Holders Count
unknown 3916
Obeo 1176
Obeo, France 15
Twitter, Inc 13
Obeo and others 2
The Dojo Foundation 2
John Resig 1
Obeo. .append(LS) buffer.append 1
suppressPackageStartupMessages(library(googleVis))
options(gvis.plot.tag='chart')

data.sorted <- data[order(data$count, decreasing = T),]

p <- gvisPieChart(data.sorted,
              options = list(
                title=paste("Holders for project `r project_id` ", sep=""),
                sliceVisibilityThreshold=0, height=280,
                pieHole= 0.4))

print(p, 'chart')


Licences

Download: scancode_licences.csv.gz

data <- read.csv(file=file_sc_licences, header=T)

File is scancode_licences.csv, and has 2 columns for 11 commits.

Licence Count
unknown 3867
epl-1.0 1229
cpl-1.0 AND other-permissive 38
apache-2.0 13
mit 10
epl-1.0 OR bsd-new 3
epl-2.0 OR apache-2.0 2
epl-2.0 1
mit OR bsd-new OR gpl-1.0-plus 1
mit OR bsd-new OR gpl-2.0 1
suppressPackageStartupMessages(library(googleVis))
options(gvis.plot.tag='chart')

p <- gvisPieChart(data,
              options = list(
                title=paste("Licences for project `r project_id` ", sep=""),
                sliceVisibilityThreshold=0, height=280,
                pieHole= 0.4))

print(p, 'chart')


Programming Languages

Download: scancode_programming_languages.csv.gz

data <- read.csv(file=file_sc_pl, header=T)

File is scancode_licences.csv, and has 2 columns for 11 commits.

Programming Language Count
unknown 3964
Java 1016
HTML 51
Python 26
Objective-C 9
ActionScript 3 6
CSS 4
PHP 3
JavaScript 2
Bash 1
suppressPackageStartupMessages(library(googleVis))
options(gvis.plot.tag='chart')

p <- gvisPieChart(data,
              options = list(
                title=paste("Programming languages for project `r project_id` ", sep=""),
                sliceVisibilityThreshold=0, height=280,
                pieHole= 0.4))

print(p, 'chart')


Special files

Download: scancode_special_files.csv.gz

data <- read.csv(file=file_sc_sf, header=T)

File is scancode_special_files.csv, and has 2 columns for 91 commits.

Holders Type
pom.xml manifest
features/org.eclipse.acceleo.aql.feature/pom.xml manifest
features/org.eclipse.acceleo.aql.launcher-feature/pom.xml manifest
features/org.eclipse.acceleo.aql.migration-feature/pom.xml manifest
features/org.eclipse.acceleo.ui.interpreter-feature/pom.xml manifest
plugins/org.eclipse.acceleo.aql/pom.xml manifest
plugins/org.eclipse.acceleo.aql/META-INF/MANIFEST.MF manifest
plugins/org.eclipse.acceleo.aql.doc/pom.xml manifest
plugins/org.eclipse.acceleo.aql.doc/META-INF/MANIFEST.MF manifest
plugins/org.eclipse.acceleo.aql.edit/pom.xml manifest