Skip to Content

modeling.emf-parsley

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.emf-parsley"), 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 2021-04-25.

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.emf-parsley.

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 372 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 11228 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 185 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 21 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 133 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 1 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 3 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 201 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.emf-parsley forum.
ID Subject Post date Post author
1838113 Re: Define a ViewerContentProvider for each TreeFormView 2021-02-16 10:14:25 31021
1838084 Re: Define a ViewerContentProvider for each TreeFormView 2021-02-15 15:07:18 231419
1838083 Re: Define a ViewerContentProvider for each TreeFormView 2021-02-15 14:53:38 31021
1838082 Re: Define a ViewerContentProvider for each TreeFormView 2021-02-15 14:52:55 31021
1838073 Re: Define a ViewerContentProvider for each TreeFormView 2021-02-15 12:25:48 231419
1838063 Re: Define a ViewerContentProvider for each TreeFormView 2021-02-15 07:39:56 31021
1838019 Define a ViewerContentProvider for each TreeFormView 2021-02-13 09:24:14 231419
1831834 Re: Parsley Editor Example/Tutorial 2020-08-31 14:22:38 31021
1831816 Parsley Editor Example/Tutorial 2020-08-31 07:13:21 58927
1829529 Case sensitivity problem in parsley proposals 2020-07-06 08:23:56 201353


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 52 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.emf-parsley forum.
ID Subject Last post date Last post author Replies Views
1106959 Define a ViewerContentProvider for each TreeFormView 2021-02-16 10:14:25 1838113 6 3123
1105069 Parsley Editor Example/Tutorial 2020-08-31 14:22:38 1831834 1 505
1104400 Case sensitivity problem in parsley proposals 2020-07-06 08:23:56 1829529 0 2356
1103747 Nested features in TableViewer, any updates ? 2020-05-16 13:06:22 1827515 4 795
1103212 Any API for Parsley RAP? 2020-04-06 15:56:25 1824024 1 1032
1098254 int index = addPage(new StructuredTextEditor(), getEditorInput()); 2019-03-29 14:29:37 1804614 1 1955
1094870 Can not change int attribute 2018-09-13 12:29:02 1795042 2 3241
1092310 Loading Resource via Filechooser 2018-04-12 14:58:34 1785329 7 4457
1091605 Calling a method on Button Push 2018-02-26 14:55:48 1782567 2 4106
1091604 EMF Parsley 1.2.2 Released 2018-02-08 13:56:59 1781557 0 3291

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 454 commits.

ID Name Time Result
3 emf-parsley-2.0-gerrit \#3 1.536248e+12 SUCCESS
2 emf-parsley-2.0-gerrit \#2 1.536248e+12 SUCCESS
1 emf-parsley-2.0-gerrit \#1 1.536246e+12 FAILURE
1 emf-parsley-2.0-rap-gerrit \#1 1.536247e+12 SUCCESS
2016-02-24\_07-56-59 emf-parsley-bugfix-maven-release \#1 1.456319e+12 SUCCESS
2017-02-21\_06-01-30 emf-parsley-bugfix-release \#11 1.487675e+12 SUCCESS
2016-11-21\_07-35-10 emf-parsley-bugfix-release \#10 1.479732e+12 SUCCESS
2016-11-18\_07-17-17 emf-parsley-bugfix-release \#9 1.479471e+12 SUCCESS
2016-11-18\_07-10-46 emf-parsley-bugfix-release \#8 1.479471e+12 FAILURE
2016-07-06\_07-20-23 emf-parsley-bugfix-release \#7 1.467804e+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 35 commits.

Name Colour Last build time Health report
emf-parsley-2.0-gerrit blue 1.536248e+12 66
emf-parsley-2.0-rap-gerrit blue 1.536247e+12 100
emf-parsley-bugfix-maven-release disabled 1.456319e+12 100
emf-parsley-bugfix-release blue 1.487675e+12 60
emf-parsley-gerrit disabled 1.407172e+12 0
emf-parsley-indigo-nightly disabled 1.517990e+12 0
emf-parsley-kepler-nightly disabled 1.518075e+12 0
emf-parsley-maven-deploy blue 1.483025e+12 80
emf-parsley-maven-deploy-release blue 1.482401e+12 40
emf-parsley-maven-deploy-release-bugfix blue 1.467805e+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.emf-parsley .
Description Value Results
Checks if the URL can be fetched using a simple get query. https://bugs.eclipse.org/bugs/enter\_bug.cgi?product=EMF.Parsley 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=EMF.Parsley 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/emfparsley-dev OK: Dev ML URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. https://www.eclipse.org/emf-parsley/documentation.html OK: Documentation URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. https://www.eclipse.org/emf-parsley/download.html 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.parsley OK. Forum \[Emf Parsley Forum\] correctly defined.\\OK: Forum \[Emf Parsley Forum\] URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. https://www.eclipse.org/emf-parsley/documentation.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. Failed: no URL defined for plan.

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 26 commits.

Author Count
unknown 2085
Lorenzo Bettini 304
Francesco Guidieri 39
Vincenzo Caselli 12
Sebastian Zarnekow 8
Sven Efftinge 8
Dennis Huebner 5
Lorenzo Bettini, Francesco Guidieri 4
2
Book First Author’s Book Book Empty Book 2
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 ", 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 17 commits.

Copyrights Count
unknown 1561
Copyright (c) RCP Vision (http://www.rcp-vision.com) and others 713
Copyright (c) IBM Corporation and others 114
Copyright Twitter, Inc. 55
Copyright (c) itemis AG (http://www.itemis.eu) and others 23
Copyright (c) RCP Vision http://www.rcp-vision.com and others 4
Copyright Jason Butz http://www.apache.org/licenses/LICENSE-2.0.txt 4
  1. Ivan Malopinsky / http://imsky.co

2
  1. Stuart Knightley

2
  1. jQuery Foundation, Inc.
2
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 ", 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 16 commits.

Holders Count
unknown 1561
RCP Vision and others 718
IBM Corporation and others 114
Twitter, Inc. 55
itemis AG and others 23
Jason Butz 4
Alexis Sellier 2
Google Inc. 2
Ivan Malopinsky 2
Jon Rohan, James M. Greene 2
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 ", 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 20 commits.

Licence Count
unknown 1424
epl-1.0 954
cpl-1.0 AND other-permissive 77
mit 60
eclipse-sua-2011 37
epl-1.0 OR bsd-new 33
apache-2.0 27
epl-1.0 AND bsd-new 21
cpl-1.0 17
mpl-1.1 17
suppressPackageStartupMessages(library(googleVis))
options(gvis.plot.tag='chart')

p <- gvisPieChart(data,
              options = list(
                title=paste("Licences for project ", 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 8 commits.

Programming Language Count
unknown 1152
Java 834
Python 172
HTML 135
PHP 61
JavaScript 54
CSS 18
Objective-C 15
suppressPackageStartupMessages(library(googleVis))
options(gvis.plot.tag='chart')

p <- gvisPieChart(data,
              options = list(
                title=paste("Programming languages for project ", 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 179 commits.

Holders Type
devtools/org.eclipse.emf.parsley.rap.workspace/license.html legal
devtools/org.eclipse.emf.parsley.rap.workspace/README.txt readme
devtools/org.eclipse.emf.parsley.targetplatform/pom.xml manifest
devtools/org.eclipse.emf.parsley.targetplatform/README.txt readme
devtools/org.eclipse.emf.parsley.workspace/license.html legal
devtools/org.eclipse.emf.parsley.workspace/README.txt readme
doc/org.eclipse.emf.parsley.dev.doc/META-INF/MANIFEST.MF manifest
doc/org.eclipse.emf.parsley.doc/pom.xml manifest
doc/org.eclipse.emf.parsley.doc/META-INF/MANIFEST.MF manifest
doc/org.eclipse.emf.parsley.doc.websitegen/META-INF/MANIFEST.MF manifest