ecd.che
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 = "ecd.che"), 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/ecd.che.
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.
- 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 1609
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 79569
lines.
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 6
commits.
ID | Name | Time | Result |
---|---|---|---|
75 | che-ls-jdt-master \#75 | 1.547822e+12 | SUCCESS |
1 | rhopp\_test \#1 | 1.570632e+12 | SUCCESS |
4 | webmaster-test-pipeline \#4 | 1.596041e+12 | SUCCESS |
3 | webmaster-test-pipeline \#3 | 1.596041e+12 | ABORTED |
2 | webmaster-test-pipeline \#2 | 1.596040e+12 | ABORTED |
1 | webmaster-test-pipeline \#1 | 1.596040e+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 5
commits.
Name | Colour | Last build time | Health report |
---|---|---|---|
che-docs-pipeline | UNKNOWN | 0.000000e+00 | 80 |
che-ls-jdt-master | blue | 1.547822e+12 | 100 |
che-website-pipeline | UNKNOWN | 0.000000e+00 | 0 |
rhopp\_test | blue | 1.570632e+12 | 100 |
webmaster-test-pipeline | blue | 1.596041e+12 | 75 |
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=Che | 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=Che | 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/che-dev | OK: Dev ML URL could be successfully fetched. |
Checks if the URL can be fetched using a simple get query. | http://eclipse.org/che/docs | OK: Documentation URL could be successfully fetched. |
Checks if the URL can be fetched using a simple get query. | http://www.eclipse.org/che | OK: Download URL could be successfully fetched. |
Checks if the Forums URL can be fetched using a simple get query. | Failed: no forums defined. | |
Checks if the URL can be fetched using a simple get query. | http://eclipse.org/che | 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 2
commits.
Author | Count |
---|---|
unknown | 169 |
Ihor Okhrimenko | 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 2
commits.
Copyrights | Count |
---|---|
Copyright (c) Red Hat, Inc. | 101 |
unknown | 69 |
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 2
commits.
Holders | Count |
---|---|
Red Hat, Inc. | 101 |
unknown | 69 |
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 6
commits.
Licence | Count |
---|---|
epl-2.0 | 99 |
epl-2.0 OR apache-2.0 | 97 |
unknown | 66 |
epl-1.0 | 4 |
generic-cla | 1 |
isc | 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 4
commits.
Programming Language | Count |
---|---|
TypeScript | 96 |
unknown | 46 |
Bash | 15 |
ActionScript 3 | 13 |
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 6
commits.
Holders | Type |
---|---|
LICENSE | legal |
README.md | readme |
tests/.infra/centos-ci/common-qe/README.md | readme |
tests/e2e/package.json | manifest |
tests/e2e/README.md | readme |
tests/performance/README.md | readme |