Skip to Content

technology.paho

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

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 432 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 6972 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 124 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 45 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 103 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 7 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 8 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 658 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.paho forum.
ID Subject Post date Post author
1840586 Problem connecting mqtt for smart watch 2021-04-19 22:15:37 232014
1840538 Re: Testing MQTT for dot net sample from two windows computer 2021-04-18 09:17:21 231999
1840537 Re: Testing MQTT for dot net sample from two windows computer 2021-04-18 09:17:04 231999
1840536 Re: Testing MQTT for dot net sample from two windows computer 2021-04-18 08:50:57 132006
1840517 Testing MQTT for dot net sample from two windows computer 2021-04-17 09:16:47 231999
1840122 Java paho tls\_set equivalent like in python 2021-04-07 07:08:29 231908
1839525 Paho in 4DIAC FORTE on Raspberry Pi 4B - won’t initialise 2021-03-23 11:16:14 214320
1839085 Re: control publish rate of generated persistent messages 2021-03-12 16:41:53 231153
1839026 Re: control publish rate of generated persistent messages 2021-03-11 13:56:07 231666
1838912 Re: control publish rate of generated persistent messages 2021-03-09 07:43:35 231639


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 282 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.paho forum.
ID Subject Last post date Last post author Replies Views
1107727 Problem connecting mqtt for smart watch 2021-04-19 22:15:37 1840586 0 845
1107706 Testing MQTT for dot net sample from two windows computer 2021-04-18 09:17:21 1840538 3 276
1107584 Java paho tls\_set equivalent like in python 2021-04-07 07:08:29 1840122 0 1065
1107419 Paho in 4DIAC FORTE on Raspberry Pi 4B - won’t initialise 2021-03-23 11:16:14 1839525 0 1254
1107139 Publish On Azure 2021-03-02 17:01:24 1838630 0 1301
1106961 control publish rate of generated persistent messages 2021-03-12 16:41:53 1839085 3 3934
1106955 TLS 1.3 support with C client 2021-02-13 00:03:40 1838012 0 3730
1106858 Paho Java Client disoconnects and reconnects constantly 2021-02-04 18:30:42 1837723 0 9717
1106620 How to publish N messages per second from paho c publisher 2021-01-16 10:14:47 1836869 0 2578
1106590 MqttAsyncClient connect () infinite loop 2021-01-13 13:14:22 1836764 0 1135

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

ID Name Time Result
2016-10-10\_10-19-27 AndroidNightlyFixTest \#16 1.476109e+12 SUCCESS
2016-10-10\_10-17-41 AndroidNightlyFixTest \#15 1.476109e+12 FAILURE
2016-10-10\_10-16-29 AndroidNightlyFixTest \#14 1.476109e+12 FAILURE
2016-10-10\_10-15-11 AndroidNightlyFixTest \#13 1.476109e+12 ABORTED
2016-10-10\_10-03-19 AndroidNightlyFixTest \#12 1.476108e+12 FAILURE
12 paho-1.2-build \#12 1.543503e+12 FAILURE
11 paho-1.2-build \#11 1.543503e+12 FAILURE
10 paho-1.2-build \#10 1.543502e+12 FAILURE
9 paho-1.2-build \#9 1.543502e+12 FAILURE
8 paho-1.2-build \#8 1.543502e+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 21 commits.

Name Colour Last build time Health report
AndroidNightlyFixTest blue 1.476109e+12 25
paho-1.2-build red 1.543503e+12 0
paho-c-develop blue 1.500286e+12 75
paho-c-master red 1.522937e+12 80
paho-golang-develop red 1.417710e+12 0
paho-java-build-verify red 1.594677e+12 0
paho-java-dev-nightly red 1.607663e+12 60
paho-java-dev-test red 1.607663e+12 0
paho-java-experimental blue 1.594680e+12 100
paho-java-master-nightly aborted 1.618892e+12 35


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.paho .
Description Value Results
Checks if the URL can be fetched using a simple get query. https://bugs.eclipse.org/bugs/enter\_bug.cgi?product=Paho 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=Paho 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/paho-dev OK: Dev ML URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. Failed: no URL defined for documentation\_url.
Checks if the URL can be fetched using a simple get query. https://www.eclipse.org/paho/downloads.php OK: Download URL could be successfully fetched.
Checks if the Forums URL can be fetched using a simple get query. http://eclipse.org/forums/eclipse.paho OK. Forum \[Paho discussion forum\] correctly defined.\\OK: Forum \[Paho discussion forum\] URL could be successfully fetched.
Checks if the URL can be fetched using a simple get query. http://wiki.eclipse.org/Paho\#Quick\_Start\_Guides 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.