Skip to Content

tools.cdt

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

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 5355 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 250343 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 22361 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 4928 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 5573 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 90 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 31 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 40799 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.cdt forum.
ID Subject Post date Post author
1854312 Programmatically enable “CDT Cross GCC Built-In Compiler Settings” 2022-08-12 15:10:12 234918
1854291 Race condition in CDT 10.6 ? 2022-08-10 20:19:15 30361
1854176 Re: Show variable memory location 2022-08-04 14:39:19 200745
1854175 Re: Future of Eclipse Forum for C / C++ IDE (CDT) 2022-08-04 13:46:12 172511
1854164 Re: Indexer Problems when using eclipse CDT with Cmake 2022-08-04 06:22:09 234873
1854157 Re: A book on C - help 2022-08-03 21:15:23 234869
1854156 Re: getchar() not working according to the code 2022-08-03 19:55:40 234869
1854149 Show variable memory location 2022-08-03 14:15:17 234869
1854146 I don’t understand what I’m doing wrong installing Eclipse 2022-08-03 12:28:11 234867
1854085 Grouping bits in binary representation of variables 2022-08-01 06:45:42 234853


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 14604 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.cdt forum.
ID Subject Last post date Last post author Replies Views
1111408 Programmatically enable “CDT Cross GCC Built-In Compiler Settings” 2022-08-12 15:10:12 1854312 0 770
1111396 Race condition in CDT 10.6 ? 2022-08-10 20:19:15 1854291 0 771
1111354 Show variable memory location 2022-08-04 14:39:19 1854176 1 651
1111353 I don’t understand what I’m doing wrong installing Eclipse 2022-08-03 12:28:11 1854146 0 834
1111339 Grouping bits in binary representation of variables 2022-08-01 06:45:42 1854085 0 1574
1111315 CDT GCC Build Parser doesn’t index the header files 2022-07-28 13:12:51 1854026 0 2126
1111300 Documentation Links 2022-07-26 22:28:04 1853984 0 1580
1111295 Access Modifiers in C and C++ 2022-07-26 05:57:46 1853963 0 2350
1111259 Errors generated by CDT Builder and not from external tool builder 2022-07-20 06:38:26 1853857 0 1831
1111257 Automatic Remote Launcher Linux (host) to Windows (remote) 2022-07-19 19:27:38 1853852 0 1312

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

ID Name Time Result
40 cdt-10.0 \#40 1.615226e+12 SUCCESS
15 cdt-10.0 \#15 1.602260e+12 SUCCESS
2 cdt-10.0 \#2 1.599514e+12 SUCCESS
2 cdt-10.0-standalone-debugger \#2 1.599755e+12 SUCCESS
13 cdt-10.1 \#13 1.615223e+12 SUCCESS
1 cdt-10.1 \#1 1.607399e+12 SUCCESS
1 cdt-10.1-standalone-debugger \#1 1.607697e+12 SUCCESS
26 cdt-10.2 \#26 1.622964e+12 SUCCESS
2 cdt-10.2 \#2 1.615219e+12 SUCCESS
3 cdt-10.2-java16 \#3 1.618109e+12 UNSTABLE


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

Name Colour Last build time Health report
cdt UNKNOWN 0.000000e+00 0
cdt-10.0 disabled 1.615226e+12 100
cdt-10.0-standalone-debugger disabled 1.599755e+12 100
cdt-10.1 disabled 1.615223e+12 100
cdt-10.1-standalone-debugger disabled 1.607697e+12 100
cdt-10.2 disabled 1.622964e+12 100
cdt-10.2-java16 disabled 1.618109e+12 99
cdt-10.3 disabled 1.636878e+12 80
cdt-10.4 disabled 1.636879e+12 99
cdt-10.5 disabled 1.638694e+12 99


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.cdt .
Description Value Results
Checks if the URL can be fetched using a simple get query. https://bugs.eclipse.org/bugs/enter\_bug.cgi?product=CDT 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=CDT 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/cdt-dev OK: Dev ML URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. http://wiki.eclipse.org/index.php/CDT OK: Documentation URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. http://www.eclipse.org/cdt/downloads.php 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.tools.cdt OK. Forum \[eclipse.tools.cdt\] correctly defined.\\OK: Forum \[eclipse.tools.cdt\] URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. http://dev.eclipse.org/viewcvs/indextools.cgi/%7Echeckout%7E/cdt-home/user/Tutorials.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/cdt/project-info/project-plan.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 94 commits.

Author Count
unknown 15864
Martin Weber 88
Doug Schaefer 66
Christian W. Damus 45
Emanuel Graf IFS 38
Emanuel Graf 15
Mirko Stocker 15
Guido Zgraggen IFS 14
Bryan Wilkinson 12
Mike Kucera 12
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 183 commits.

Copyrights Count
unknown 5999
Copyright (c) QNX Software Systems and others 2146
Copyright (c) IBM Corporation and others 1962
Copyright (c) Wind River Systems, Inc. and others 1122
Copyright (c) Intel Corporation and others 746
Copyright (c) Wind River Systems and others 561
Copyright (c) Ericsson and others 497
Copyright (c) Institute for Software, HSR Hochschule fuer Technik Rapperswil, University of applied sciences and others 268
Copyright (c) Google, Inc and others 237
Copyright (c) Red Hat, Inc. 161
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 176 commits.

Holders Count
unknown 6161
QNX Software Systems and others 2146
IBM Corporation and others 1962
Wind River Systems, Inc. and others 1123
Intel Corporation and others 746
Wind River Systems and others 561
Ericsson and others 497
Institute for Software, HSR Hochschule fuer Technik Rapperswil, University of applied sciences and others 268
Google, Inc and others 237
Red Hat, Inc. 188
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 22 commits.

Licence Count
epl-2.0 10489
epl-2.0 OR apache-2.0 10224
unknown 5839
epl-1.0 223
unknown-license-reference 45
unknown-spdx 18
apache-2.0 13
cpl-1.0 12
eclipse-sua-2017 12
mpl-1.1 12
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 19 commits.

Programming Language Count
Java 9359
unknown 5572
HTML 889
C++ 172
C 147
Objective-C 68
JavaScript 30
Bash 20
TASM 16
CSS 14
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 289 commits.

Holders Type
pom.xml manifest
README.md readme
build/pom.xml manifest
build/org.eclipse.cdt.autotools.core/META-INF/MANIFEST.MF manifest
build/org.eclipse.cdt.autotools.docs/pom.xml manifest
build/org.eclipse.cdt.autotools.docs/doc/notices.html legal
build/org.eclipse.cdt.autotools.docs/META-INF/MANIFEST.MF manifest
build/org.eclipse.cdt.autotools.tests/META-INF/MANIFEST.MF manifest
build/org.eclipse.cdt.autotools.ui/META-INF/MANIFEST.MF manifest
build/org.eclipse.cdt.autotools.ui/templates/projecttemplates/AutotoolsSharedLibraryProject/COPYING legal