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 2022-08-07.

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 693 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 22875 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 26 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
1853749 Install glass fish 2022-07-16 17:08:40 234769
1853416 Glassfish 6.1 javamail problem 2022-06-30 21:46:08 234682
1851708 BiDirectional CORBA 2022-04-13 07:30:13 234244
1850267 Re: JAX-WS with jms transport in Glassfish 2022-02-23 11:21:55 233943
1850265 Re: Glassfish 6.2.2 CDI deployment failure:null 2022-02-23 10:44:06 233943
1849674 Application deployed on glassfish 6 fail to send email 2022-01-28 22:05:48 233794
1847238 Glassfish 6.2.2 CDI deployment failure:null 2021-10-20 15:48:27 233172
1843601 Glassfish & broker 2021-08-10 11:53:35 232708
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


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 20 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
1111213 Install glass fish 2022-07-16 17:08:40 1853749 0 1830
1111110 Glassfish 6.1 javamail problem 2022-06-30 21:46:08 1853416 0 1305
1110580 BiDirectional CORBA 2022-04-13 07:30:13 1851708 0 2138
1109979 Application deployed on glassfish 6 fail to send email 2022-01-28 22:05:48 1849674 0 2660
1109247 Glassfish 6.2.2 CDI deployment failure:null 2022-02-23 10:44:06 1850265 1 2646
1108641 Glassfish & broker 2021-08-10 11:53:35 1843601 0 2351
1107736 Glassfish ORB.init() java.lang.IllegalStateException: cannot modify frozen instance 2021-04-23 00:33:06 1840733 1 1289
1107081 JAX-WS with jms transport in Glassfish 2022-02-23 11:21:55 1850267 1 1695
1106974 Weird behavior with glassfish service 2021-02-16 09:00:54 1838109 2 384
1106856 out of box REST archetype gives 404 error 2021-02-04 13:58:47 1837712 0 10382

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

ID Name Time Result
8 1\_hk2\_build-and-stage \#8 1.649766e+12 SUCCESS
83 all-projects\_1\_build-and-stage \#83 1.648563e+12 SUCCESS
82 all-projects\_1\_build-and-stage \#82 1.648563e+12 FAILURE
81 all-projects\_1\_build-and-stage \#81 1.648562e+12 SUCCESS
80 all-projects\_1\_build-and-stage \#80 1.646400e+12 FAILURE
79 all-projects\_1\_build-and-stage \#79 1.646399e+12 FAILURE
78 all-projects\_1\_build-and-stage \#78 1.646397e+12 FAILURE
77 all-projects\_1\_build-and-stage \#77 1.646397e+12 FAILURE
76 all-projects\_1\_build-and-stage \#76 1.646395e+12 FAILURE
75 all-projects\_1\_build-and-stage \#75 1.646395e+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 65 commits.

Name Colour Last build time Health report
1\_hk2\_build-and-stage blue 1.649766e+12 100
all-projects\_1\_build-and-stage blue 1.648563e+12 40
all-projects\_3\_staging-to-release blue 1.649750e+12 100
bvtck-porting UNKNOWN 0.000000e+00 0
cditck-porting UNKNOWN 0.000000e+00 0
commandsecurity\_1\_build-and-stage blue 1.657310e+12 100
Copy\_artifacts\_test red 1.574430e+12 60
Copy\_artifacts\_test\_freestyle red 1.562765e+12 0
eclipse-tck-bundles-copy red 1.580109e+12 0
fighterfish UNKNOWN 0.000000e+00 0


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.