Skip to Content

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 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/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
  • 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 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 979 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 246 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 636 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 34 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 13 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 344 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 tools.tracecompass forum.
ID Subject Post date Post author
1842653 Re: Create a new trace type 2021-06-27 07:44:43 232392
1842293 Create a new trace type 2021-06-15 17:22:24 232392
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


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 298 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 tools.tracecompass forum.
ID Subject Last post date Last post author Replies Views
1108236 Create a new trace type 2021-06-27 07:44:43 1842653 1 2538
1106973 JAXB Problem 2021-02-16 10:06:46 1838112 2 618
1106254 kernel and ust traces alongside 2020-12-11 17:06:16 1835757 1 565
1102109 Main toolbar 2020-01-29 06:10:33 1820790 2 198071
1101396 CPU usage view 2019-12-06 09:48:27 1818122 3 3564
1101279 Runnables are not visible in BTF view 2019-11-17 10:12:25 1817165 2 705
1099735 Multiple instances of trace compas 2019-07-17 05:19:42 1809502 2 1665
1097205 Trace compass with GDB trace format. 2019-01-25 21:10:37 1801765 2 1432
1094943 XML state provider for generic CTF 2018-08-31 18:17:36 1794518 2 3092
1094923 Help non-Linux/non-Java embedded C developer make use of Trace Compass 2019-11-18 12:32:13 1817195 5 1851

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

ID Name Time Result
71 backup-legacy-builds \#71 1.651853e+12 SUCCESS
70 backup-legacy-builds \#70 1.651784e+12 SUCCESS
69 backup-legacy-builds \#69 1.649166e+12 SUCCESS
68 backup-legacy-builds \#68 1.648734e+12 SUCCESS
67 backup-legacy-builds \#67 1.648671e+12 SUCCESS
66 backup-legacy-builds \#66 1.647454e+12 SUCCESS
65 backup-legacy-builds \#65 1.647446e+12 SUCCESS
64 backup-legacy-builds \#64 1.639078e+12 SUCCESS
63 backup-legacy-builds \#63 1.639071e+12 SUCCESS
62 backup-legacy-builds \#62 1.633138e+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 62 commits.

Name Colour Last build time Health report
backup-legacy-builds blue 1.651853e+12 100
clean-up-builds disabled 1.586810e+12 100
Connect-external-slave disabled 1.459554e+12 100
delete-old-temp-files disabled 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.659991e+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 }
)
Extract of the 10 first PMI checks for tools.tracecompass .
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). 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/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/8.0.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 `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 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 `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 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 `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 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 `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 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 `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 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