Skip to Content

modeling.gendoc

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.gendoc"), 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-14.

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.gendoc.

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 96 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 1744 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 147 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 36 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 112 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 8 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 8284 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.gendoc forum.
ID Subject Post date Post author
1848600 Re: XLSXParser::layoutCells() performance issue 2021-12-09 10:46:46 44199
1848454 Re: XLSXParser::layoutCells() performance issue 2021-12-02 14:53:22 177965
1848453 Re: Issue with GenDoc on Papyrus 5.2 Windows 2021-12-02 14:46:34 44199
1848450 Re: XLSXParser::layoutCells() performance issue 2021-12-02 14:19:12 44199
1848449 Re: XLSXParser::layoutCells() performance issue 2021-12-02 13:26:23 44199
1848448 Re: XLSXParser::layoutCells() performance issue 2021-12-02 11:36:33 177965
1848445 Re: XLSXParser::layoutCells() performance issue 2021-12-02 09:19:59 44199
1848395 Re: XLSXParser::layoutCells() performance issue 2021-12-01 03:45:18 177965
1848312 Re: Issue with GenDoc on Papyrus 5.2 Windows 2021-11-27 17:00:22 205979
1848275 Re: XLSXParser::layoutCells() performance issue 2021-11-26 10:33:45 44199


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 7791 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.gendoc forum.
ID Subject Last post date Last post author Replies Views
1109526 XLSXParser::layoutCells() performance issue 2021-12-09 10:46:46 1848600 15 4616
1109445 Issue with GenDoc on Papyrus 5.2 Windows 2021-12-02 14:46:34 1848453 6 1673
1109428 Run Gendoc template on a model object passed from code 2021-11-10 14:48:54 1847859 2 367
1109427 Generate Excel file with multiple worksheets 2021-11-10 14:32:05 1847858 2 354
1104166 Getting ID and Name from Requirements::Requirement 2020-07-29 12:48:19 1830584 9 2781
1103311 R-E-A-L (Rapid Engineering Architecture Linked) 2020-04-14 06:45:35 1824337 2 3531
1102815 Any comparison of document generators available? 2020-03-18 07:58:32 1823018 3 1122
1101926 Generate merged cells in Excel 2020-01-07 13:27:30 1819083 1 534
1101918 Word sub document 2020-01-10 07:22:07 1819217 1 1579
1101157 Word 2010 unable to open generated Documents 2019-11-12 09:06:30 1816924 2 2284

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

ID Name Time Result
2225 Gendoc-0.5-juno-maintenance \#2225 1.660367e+12 SUCCESS
2224 Gendoc-0.5-juno-maintenance \#2224 1.660280e+12 SUCCESS
2223 Gendoc-0.5-juno-maintenance \#2223 1.660194e+12 SUCCESS
2222 Gendoc-0.5-juno-maintenance \#2222 1.660108e+12 SUCCESS
2221 Gendoc-0.5-juno-maintenance \#2221 1.660022e+12 SUCCESS
2016-08-03\_01-00-58 Gendoc-0.5-juno-maintenance \#55 1.470200e+12 SUCCESS
2623 Gendoc-0.5-maintenance \#2623 1.660367e+12 SUCCESS
2622 Gendoc-0.5-maintenance \#2622 1.660280e+12 SUCCESS
2621 Gendoc-0.5-maintenance \#2621 1.660194e+12 SUCCESS
2620 Gendoc-0.5-maintenance \#2620 1.660108e+12 SUCCESS


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

Name Colour Last build time Health report
Gendoc-0.5-juno-maintenance blue 1.660367e+12 100
Gendoc-0.5-maintenance blue 1.660367e+12 100
Gendoc-0.6-maintenance blue 1.660367e+12 100
Gendoc-2018-09 blue 1.639050e+12 100
Gendoc-2018-09-nightly blue 1.660363e+12 100
Gendoc-2018-12 blue 1.639048e+12 100
Gendoc-2018-12-nightly blue 1.660363e+12 100
Gendoc-2019-03 blue 1.639047e+12 100
Gendoc-2019-03-nightly blue 1.660364e+12 100
Gendoc-2019-06 blue 1.639049e+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.gendoc .
Description Value Results
Checks if the URL can be fetched using a simple get query. https://bugs.eclipse.org/bugs/enter\_bug.cgi?product=Gendoc 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=Gendoc 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/gendoc-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. Failed: no URL defined for download\_url.
Checks if the Forums URL can be fetched using a simple get query. http://eclipse.org/forums/eclipse.gendoc OK. Forum \[Gendoc forum\] correctly defined.\\OK: Forum \[Gendoc forum\] URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. Failed: no URL defined for gettingstarted\_url.
Checks if the Mailing lists URL can be fetched using a simple get query. https://dev.eclipse.org/mailman/listinfo/gendoc-users OK. \[gendoc-users\] ML correctly defined with email.\\OK: \[gendoc-users\] ML URL could be successfully fetched.
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 10 commits.

Author Count
unknown 959
Kris Robertson 54
LMlWD77q5gyU1WhP@O2j3NfI00g5m65H1 14
Caroline Bourdeu d’Aguerre 4
Papa Malick Wade 3
Alexia Allanic 1
Anne Haugommard 1
XXXX\_generated.docx 1
an ITagExtension 1
LMlWD77q5gyU1WhP@Acs91nWTKvN+BFfg 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 11 commits.

Copyrights Count
unknown 628
Copyright (c) Atos Origin 272
  1. Copyright Telefonaktiebolaget LM Ericsson

70
Copyright (c) Atos 50
Copyright (c) Ericsson AB. 10
  1. Copyright Eclipse contributors and others
3
Copyright (c) Airbus 2
Copyright (c) CEA LIST and others 2
Copyright (c) AIRBUS FRANCE and others 1
Copyright (c) AtosOrigin 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 12 commits.

Holders Count
unknown 628
Atos Origin 265
Telefonaktiebolaget LM Ericsson 70
Atos 50
Ericsson AB. 10
Atos Origin. br 7
Eclipse contributors and others 3
Airbus 2
CEA LIST and others 2
AIRBUS FRANCE and others 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 10 commits.

Licence Count
unknown 591
epl-1.0 448
cpl-1.0 AND other-permissive 33
eclipse-sua-2011 6
apache-2.0 5
cpl-1.0 3
mpl-1.1 3
generic-cla 2
bsd-new OR epl-1.0 1
tidy 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 7 commits.

Programming Language Count
unknown 483
Java 393
HTML 84
Python 44
PHP 27
CSS 4
Bash 3
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 89 commits.

Holders Type
pom.xml manifest
features/org.eclipse.gendoc.feature/license.html legal
features/org.eclipse.gendoc.feature/pom.xml manifest
features/org.eclipse.gendoc.papyrus.feature/license.html legal
features/org.eclipse.gendoc.papyrus.feature/pom.xml manifest
features/org.eclipse.gendoc.sirius.feature/license.html legal
features/org.eclipse.gendoc.sirius.feature/pom.xml manifest
plugins/org.eclipse.gendoc/pom.xml manifest
plugins/org.eclipse.gendoc/META-INF/MANIFEST.MF manifest
plugins/org.eclipse.gendoc.batch/pom.xml manifest