Skip to Content

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 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/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
  • 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 1423 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 79247 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 6 commits.

Name Colour Last build time Health report
che-docs-pipeline UNKNOWN 0.000000e+00 0
che-docs-test notbuilt 0.000000e+00 0
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 }
)
Extract of the 10 first PMI checks for ecd.che .
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 85 commits.

Author Count
unknown 1552
Sergii Leshchenko 211
Sergii Leschenko 182
Yevhenii Voevodin 179
Anton Korneta 142
Alexander Garagatyi 101
Sergii Kabashniuk 44
Florent Benoit 43
Mykhailo Kuznietsov 29
Max Shaposhnik (Jp92KmB4MqHoizRB@eCPgQm6tL9P7XkkZ) 25
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 20 commits.

Copyrights Count
Copyright (c) Red Hat, Inc. 2408
unknown 265
Copyright (c) Codenvy, S.A. 8
Copyright (c) Google Inc. 6
Copyright Xemantic 3
  1. Ivan Sagalaev <SIO1vPFuyPgkgK+k@V04VmVqJFwFA+gdv>
2
Copyright (c) Cowboy Ben Alman 2
copyright Google Corporation. Digitized 2
copyright Google Corporation. Droid Sans 2
copyright Terracotta, Inc. 2
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 21 commits.

Holders Count
Red Hat, Inc. 2408
unknown 265
Codenvy, S.A. 8
Google Inc. 6
Xemantic 3
Cowboy Ben Alman 2
Google Corporation. Digitized 2
Google Corporation. Droid Sans 2
Ivan Sagalaev 2
Christopher Jeffrey. (MIT Licensed) 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 ", 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 27 commits.

Licence Count
epl-2.0 2385
epl-2.0 OR apache-2.0 2381
unknown 250
epl-1.0 43
apache-2.0 33
mit 12
lgpl-2.0-plus 6
gpl-2.0 5
cddl-1.0 4
cpl-1.0 4
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 12 commits.

Programming Language Count
Java 1848
unknown 638
TypeScript 97
Bash 41
JavaScript 28
ActionScript 3 20
Python 10
CSS 8
HTML 6
ERB 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 133 commits.

Holders Type
LICENSE legal
pom.xml manifest
README.md readme
assembly/pom.xml manifest
assembly/assembly-che-tomcat8/pom.xml manifest
assembly/assembly-che-tomcat8/src/assembly/LICENSE-tomcat.txt legal
assembly/assembly-dashboard-war/pom.xml manifest
assembly/assembly-main/pom.xml manifest
assembly/assembly-main/src/assembly/LICENSE legal
assembly/assembly-main/src/assembly/README readme