Skip to Content

technology.jgit

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 = "technology.jgit"), 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/technology.jgit.

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.

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 2634 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 123243 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 1603 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 510 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 1230 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 78 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 1 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 8333 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 technology.jgit forum.
ID Subject Post date Post author
1854248 Re: Need JGit help 2022-08-09 06:52:13 63204
1854244 Re: Git Clone Wizard Very Slow Vs. Git Command Line 2022-08-09 06:29:47 63204
1854242 Re: Git Clone Wizard Very Slow Vs. Git Command Line 2022-08-08 19:13:49 234879
1854238 Re: Git Clone Wizard Very Slow Vs. Git Command Line 2022-08-08 17:48:30 213855
1854237 Re: Suddenly getting “No more authentication methods available” with ssh auth to git repo 2022-08-08 17:35:15 213855
1854229 Git Clone Wizard Very Slow Vs. Git Command Line 2022-08-08 14:19:09 234879
1854220 Re: Suddenly getting “No more authentication methods available” with ssh auth to git repo 2022-08-08 11:02:07 234892
1854209 Re: JGIT LS Remote Repositor using SSH 2022-08-06 20:19:13 213855
1854208 JGIT LS Remote Repositor using SSH 2022-08-06 18:39:32 234887
1853981 Need JGit help 2022-07-26 19:10:08 234829


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 2067 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 technology.jgit forum.
ID Subject Last post date Last post author Replies Views
1111382 Git Clone Wizard Very Slow Vs. Git Command Line 2022-08-09 06:29:47 1854244 3 511
1111375 JGIT LS Remote Repositor using SSH 2022-08-06 20:19:13 1854209 1 114
1111298 Need JGit help 2022-08-09 06:52:13 1854248 1 2075
1111189 is GIT required 2022-07-14 07:02:46 1853703 1 2005
1111161 jgit checkout cost too long time 2022-07-12 13:03:44 1853653 1 1824
1111082 JGit Maintenance 2022-06-28 19:40:33 1853353 2 629
1111070 Modify author date in JGit 2022-06-28 16:43:29 1853346 3 1010
1111060 Retrieve User Name and Email Address from the Git Repo 2022-06-27 07:19:03 1853299 4 2019
1111037 How to get User info from personal access token 2022-06-24 12:55:39 1853262 6 2975
1111025 What is the proper way to stage / unstage specific lines in a diff? 2022-06-30 07:12:47 1853383 2 19022

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

ID Name Time Result
594 jgit \#594 1.660397e+12 FAILURE
593 jgit \#593 1.660062e+12 FAILURE
592 jgit \#592 1.660036e+12 FAILURE
591 jgit \#591 1.660000e+12 FAILURE
590 jgit \#590 1.659740e+12 FAILURE
589 jgit \#589 1.659738e+12 FAILURE
588 jgit \#588 1.659566e+12 FAILURE
587 jgit \#587 1.659566e+12 FAILURE
586 jgit \#586 1.659507e+12 FAILURE
585 jgit \#585 1.659490e+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 11 commits.

Name Colour Last build time Health report
jgit red 1.660397e+12 0
jgit.bazel disabled 1.497561e+12 0
jgit.java11 blue 1.660397e+12 100
jgit.old disabled 1.582496e+12 100
jgit.windows disabled 0.000000e+00 0
stable UNKNOWN 0.000000e+00 20
test blue 1.562684e+12 100
test.windows disabled 1.552000e+12 40
thomas-test disabled 1.561285e+12 100
webmaster-test blue 1.623414e+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 technology.jgit .
Description Value Results
Checks if the URL can be fetched using a simple get query. https://bugs.eclipse.org/bugs/enter\_bug.cgi?product=JGit 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=JGit 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://ci.eclipse.org/jgit OK. Fetched CI URL.\\OK. CI URL is a Hudson instance. Title is \[built-in\]
Checks if the Dev ML URL can be fetched using a simple get query. https://dev.eclipse.org/mailman/listinfo/jgit-dev OK: Dev ML URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. https://www.eclipse.org/jgit/documentation/ OK: Documentation URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. https://www.eclipse.org/jgit/download/ OK: Download URL could be successfully fetched.
Checks if the Forums URL can be fetched using a simple get query. https://eclipse.org/forums/eclipse.egit OK. Forum \[JGit and EGit forum\] correctly defined.\\OK: Forum \[JGit and EGit forum\] URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. Failed: no URL defined for gettingstarted\_url.
Checks if the Mailing lists URL can be fetched using a simple get query. https://dev.eclipse.org/mailman/listinfo/jgit-build OK. \[jgit-build\] ML correctly defined with email.\\OK: \[jgit-build\] ML URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. Failed: no URL defined for plan.