tools.tracecompass
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 = "tools.tracecompass"), 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/tools.tracecompass.
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
- Bugzilla issues (CSV) – list of all issues.
- Bugzilla open issues (CSV) – list of issues in an open state.
- Bugzilla evolution (CSV) – weekly time series of issues created.
- Bugzilla components (CSV) – list of components declared for the project.
- Bugzilla versions (CSV) – list of versions declared for the project.
- 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
- Jenkins CI Builds (CSV) – list of all builds on the Jenkins CI instance.
- Jenkins CI Jobs (CSV) – list of all jobs on the Jenkins CI instance.
- Eclipse PMI
- PMI Checks (CSV) – list of all checks applied to the Project Management Infrastructure entries for the project.
- ScanCode
- ScanCode files (CSV) – list of files identified in the codebase by ScanCode.
- ScanCode authors (CSV) – list of authors identified in the codebase by ScanCode.
- ScanCode copyrights (CSV) – list of copyrights identified in the codebase by ScanCode.
- ScanCode holders (CSV) – list of copyright holders identified in the codebase by ScanCode.
- ScanCode licences (CSV) – list of licences identified in the codebase by ScanCode.
- ScanCode packages (CSV) – list of packages identified in the codebase by ScanCode.
- ScanCode programming languages (CSV) – list of programming languages identified in the codebase by 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 2048
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 105811
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 917
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 315
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 589
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 28
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 12
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 342
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 }
)
ID | Subject | Post date | Post author |
---|---|---|---|
1838112 | Re: JAXB Problem | 2021-02-16 10:06:46 | 227152 |
1838086 | Re: JAXB Problem | 2021-02-15 17:08:47 | 216260 |
1838077 | JAXB Problem | 2021-02-15 13:11:42 | 227152 |
1835757 | Re: kernel and ust traces alongside | 2020-12-11 17:06:16 | 88107 |
1835727 | kernel and ust traces alongside | 2020-12-11 03:29:12 | 230873 |
1820790 | Re: Main toolbar | 2020-01-29 06:10:33 | 227152 |
1820724 | Re: Main toolbar | 2020-01-27 18:53:44 | 205219 |
1820542 | Main toolbar | 2020-01-22 13:46:48 | 227152 |
1818122 | Re: CPU usage view | 2019-12-06 09:48:27 | 227152 |
1817949 | Re: CPU usage view | 2019-12-03 13:40:23 | 227152 |
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 297
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 }
)
ID | Subject | Last post date | Last post author | Replies | Views |
---|---|---|---|---|---|
1106973 | JAXB Problem | 2021-02-16 10:06:46 | 1838112 | 2 | 279 |
1106254 | kernel and ust traces alongside | 2020-12-11 17:06:16 | 1835757 | 1 | 237 |
1102109 | Main toolbar | 2020-01-29 06:10:33 | 1820790 | 2 | 197812 |
1101396 | CPU usage view | 2019-12-06 09:48:27 | 1818122 | 3 | 3291 |
1101279 | Runnables are not visible in BTF view | 2019-11-17 10:12:25 | 1817165 | 2 | 475 |
1099735 | Multiple instances of trace compas | 2019-07-17 05:19:42 | 1809502 | 2 | 1456 |
1097205 | Trace compass with GDB trace format. | 2019-01-25 21:10:37 | 1801765 | 2 | 1123 |
1094943 | XML state provider for generic CTF | 2018-08-31 18:17:36 | 1794518 | 2 | 2714 |
1094923 | Help non-Linux/non-Java embedded C developer make use of Trace Compass | 2019-11-18 12:32:13 | 1817195 | 5 | 1349 |
1092773 | Resource Leak exception in tmf.ui plugin with trace compass 3.3.0 | 2018-04-13 17:44:41 | 1785437 | 2 | 2323 |
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 1434
commits.
ID | Name | Time | Result |
---|---|---|---|
33 | backup-legacy-builds \#33 | 1.618601e+12 | SUCCESS |
32 | backup-legacy-builds \#32 | 1.618332e+12 | SUCCESS |
31 | backup-legacy-builds \#31 | 1.616268e+12 | SUCCESS |
30 | backup-legacy-builds \#30 | 1.616187e+12 | SUCCESS |
29 | backup-legacy-builds \#29 | 1.614102e+12 | SUCCESS |
28 | backup-legacy-builds \#28 | 1.611270e+12 | SUCCESS |
27 | backup-legacy-builds \#27 | 1.611267e+12 | SUCCESS |
26 | backup-legacy-builds \#26 | 1.607477e+12 | SUCCESS |
25 | backup-legacy-builds \#25 | 1.607474e+12 | SUCCESS |
24 | backup-legacy-builds \#24 | 1.605028e+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 56
commits.
Name | Colour | Last build time | Health report |
---|---|---|---|
backup-legacy-builds | blue | 1.618601e+12 | 100 |
clean-up-builds | disabled | 1.586810e+12 | 100 |
Connect-external-slave | disabled | 1.459554e+12 | 100 |
delete-old-temp-files | blue | 1.595736e+12 | 100 |
env-test | disabled | 1.570638e+12 | 100 |
jstack-all | disabled | 1.525189e+12 | 100 |
orbit-test-build | disabled | 1.476937e+12 | 100 |
org.eclipse.tracecompass-non-simrel-release | blue | 1.610589e+12 | 100 |
org.eclipse.tracecompass-simrel-publish | blue | 1.616005e+12 | 100 |
org.eclipse.tracecompass-simrel-publish-2020-12-fix | blue | 1.607550e+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 }
)
Description | Value | Results |
---|---|---|
Checks if the URL can be fetched using a simple get query. | https://bugs.eclipse.org/bugs/enter\_bug.cgi?product=Tracecompass | 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=Tracecompass | 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). | https://hudson.eclipse.org/tracecompass | OK. Fetched CI URL.\\Failed: could not decode Hudson JSON. |
Checks if the Dev ML URL can be fetched using a simple get query. | https://dev.eclipse.org/mailman/listinfo/tracecompass-dev | OK: Dev ML URL could be successfully fetched. |
Checks if the URL can be fetched using a simple get query. | https://wiki.eclipse.org/Trace\_Compass\#User\_Guides | OK: Documentation URL could be successfully fetched. |
Checks if the URL can be fetched using a simple get query. | http://download.eclipse.org/tracecompass/releases/6.3.0/rcp/ | OK: Download URL could be successfully fetched. |
Checks if the Forums URL can be fetched using a simple get query. | http://eclipse.org/forums/eclipse.tracecompass | OK. Forum \[IRC Channel (irc://irc.oftc.net/tracecompass)\] correctly defined.\\Failed: could not get `\(str URL [\)`url\].\\OK. Forum \[Trace Compass Forums\] correctly defined.\\OK: Forum \[Trace Compass Forums\] URL could be successfully fetched. |
Checks if the URL can be fetched using a simple get query. | https://wiki.eclipse.org/Trace\_Compass/Development\_Environment\_Setup | 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 77
commits.
Author | Count |
---|---|
unknown | 3432 |
Genevieve Bastien | 504 |
Matthew Khouzam | 430 |
Bernd Hufmann | 313 |
Alexandre Montplaisir | 225 |
Patrick Tasse | 143 |
Francois Chouinard | 103 |
Jean-Christian Kouame | 99 |
Loic Prieur-Drevon | 83 |
Marc-Andre Laperle | 76 |
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 47
commits.
Copyrights | Count |
---|---|
Copyright (c) Ericsson | 2291 |
unknown | 2097 |
Copyright (c) Ecole Polytechnique de Montreal | 803 |
Copyright (c) EfficiOS Inc., Alexandre Montplaisir | 100 |
Copyright (c) IBM Corporation, Ericsson | 79 |
Copyright (c) EfficiOS Inc. and others | 66 |
Copyright (c) Ericsson, Ecole Polytechnique de Montreal | 52 |
Copyright (c) Ericsson, Ecole Polytechnique de Montreal and others | 51 |
Copyright (c) Ericsson and others | 42 |
Copyright (c) Ecole Polytechnique de Montreal and others | 38 |
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 48
commits.
Holders | Count |
---|---|
Ericsson | 2291 |
unknown | 2097 |
Ecole Polytechnique de Montreal | 803 |
EfficiOS Inc., Alexandre Montplaisir | 100 |
IBM Corporation, Ericsson | 79 |
EfficiOS Inc. and others | 66 |
Ericsson, Ecole Polytechnique de Montreal | 52 |
Ericsson, Ecole Polytechnique de Montreal and others | 51 |
Ericsson and others | 42 |
Ecole Polytechnique de Montreal and others | 38 |
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 17
commits.
Licence | Count |
---|---|
epl-1.0 | 3753 |
unknown | 1988 |
cpl-1.0 AND other-permissive | 115 |
gpl-1.0-plus | 31 |
lgpl-2.0-plus | 29 |
epl-1.0 OR bsd-new | 8 |
mit | 5 |
eclipse-sua-2014 | 2 |
epl-1.0 AND bsd-new | 2 |
apache-2.0 | 1 |
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 13
commits.
Programming Language | Count |
---|---|
Java | 3128 |
unknown | 2365 |
HTML | 118 |
Perl6 | 77 |
PHP | 29 |
Bash | 10 |
CSS | 7 |
Python | 5 |
ActionScript 3 | 4 |
Objective-C | 2 |
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 143
commits.
Holders | Type |
---|---|
pom.xml | manifest |
README.md | readme |
analysis/pom.xml | manifest |
analysis/org.eclipse.tracecompass.analysis.counters.core/META-INF/MANIFEST.MF | manifest |
analysis/org.eclipse.tracecompass.analysis.counters.core.tests/META-INF/MANIFEST.MF | manifest |
analysis/org.eclipse.tracecompass.analysis.counters.ui/META-INF/MANIFEST.MF | manifest |
analysis/org.eclipse.tracecompass.analysis.counters.ui.swtbot.tests/META-INF/MANIFEST.MF | manifest |
analysis/org.eclipse.tracecompass.analysis.graph.core/META-INF/MANIFEST.MF | manifest |
analysis/org.eclipse.tracecompass.analysis.graph.core.tests/META-INF/MANIFEST.MF | manifest |
analysis/org.eclipse.tracecompass.analysis.graph.ui/META-INF/MANIFEST.MF | manifest |