Skip to Content

ee4j.glassfish

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 = "ee4j.glassfish"), 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/ee4j.glassfish.

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.
  • 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 383 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 10509 lines.


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 18 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 ee4j.glassfish forum.
ID Subject Post date Post author
1840733 Re: Glassfish ORB.init() java.lang.IllegalStateException: cannot modify frozen instance 2021-04-23 00:33:06 232022
1840613 Glassfish ORB.init() java.lang.IllegalStateException: cannot modify frozen instance 2021-04-20 16:48:11 232022
1838435 JAX-WS with jms transport in Glassfish 2021-02-24 20:31:27 231519
1838109 Re: Weird behavior with glassfish service 2021-02-16 09:00:54 231431
1838085 Re: Weird behavior with glassfish service 2021-02-15 16:17:55 581
1838078 Weird behavior with glassfish service 2021-02-15 14:04:35 231431
1837712 out of box REST archetype gives 404 error 2021-02-04 13:58:47 231344
1837268 CDI issue 2021-01-26 14:17:05 231241
1836926 Re: \[Java15\] maven-embedded-glassfish-plugin with latest glassfish 2021-01-18 22:16:06 231163
1836905 \[Java15\] maven-embedded-glassfish-plugin with latest glassfish 2021-01-18 12:12:10 231163


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 14 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 ee4j.glassfish forum.
ID Subject Last post date Last post author Replies Views
1107736 Glassfish ORB.init() java.lang.IllegalStateException: cannot modify frozen instance 2021-04-23 00:33:06 1840733 1 636
1107081 JAX-WS with jms transport in Glassfish 2021-02-24 20:31:27 1838435 0 1007
1106974 Weird behavior with glassfish service 2021-02-16 09:00:54 1838109 2 209
1106856 out of box REST archetype gives 404 error 2021-02-04 13:58:47 1837712 0 10190
1106733 CDI issue 2021-01-26 14:17:05 1837268 0 4058
1106627 \[Java15\] maven-embedded-glassfish-plugin with latest glassfish 2021-01-18 22:16:06 1836926 1 137
1105281 apache derby IJ ERROR: Unable to establish connection with glassfish5 on linux mint 2020-09-20 03:20:23 1832519 0 1854
1105175 Glassfish 5 - JMS Physical Destination settings do not persist after restart 2020-09-10 21:22:17 1832172 0 1105
1103396 Glassfish 5 admin application crashes when adding connection pool 2020-04-16 21:57:21 1824527 0 7670
1102090 Glassfish news 2020-01-21 13:46:58 1819691 0 294

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

ID Name Time Result
16 glassfish-tools-1.0.0 \#16 1.564780e+12 SUCCESS
15 glassfish-tools-1.0.0 \#15 1.564778e+12 FAILURE
14 glassfish-tools-1.0.0 \#14 1.564778e+12 FAILURE
13 glassfish-tools-1.0.0 \#13 1.554755e+12 SUCCESS
12 glassfish-tools-1.0.0 \#12 1.554755e+12 FAILURE
11 glassfish-tools-1.0.0 \#11 1.528745e+12 SUCCESS
10 glassfish-tools-1.0.0 \#10 1.517440e+12 SUCCESS
9 glassfish-tools-1.0.0 \#9 1.517339e+12 SUCCESS
8 glassfish-tools-1.0.0 \#8 1.517338e+12 FAILURE
7 glassfish-tools-1.0.0 \#7 1.517337e+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 2 commits.

Name Colour Last build time Health report
glassfish-tools-1.0.0 blue 1.564780e+12 40
glassfish-tools-1.0.1 blue 1.564777e+12 20


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 ee4j.glassfish .
Description Value Results
Checks if the URL can be fetched using a simple get query. Failed: no URL defined for create\_url.
Checks if the URL can be fetched using a simple get query. Failed: no URL defined for query\_url.
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://accounts.eclipse.org/mailing-list/glassfish-dev OK: Dev ML URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. https://eclipse-ee4j.github.io/glassfish/docs/ OK: Documentation URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. Failed: no URL defined for download\_url.
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. https://eclipse-ee4j.github.io/glassfish/docs/latest/installation-guide/toc.html OK: Documentation URL could be successfully fetched.
Checks if the Mailing lists URL can be fetched using a simple get query. https://accounts.eclipse.org/mailing-list/jakartaee-platform-dev OK. \[jakartaee-platform-dev\] ML correctly defined with email.\\OK: \[jakartaee-platform-dev\] ML URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. Failed: no URL defined for plan.