Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/centic9/bzstats
Query the Apache bugzilla instance for bug-counts and use R to produce an SVG with a chart of how bug-counts evolved
https://github.com/centic9/bzstats
Last synced: about 1 month ago
JSON representation
Query the Apache bugzilla instance for bug-counts and use R to produce an SVG with a chart of how bug-counts evolved
- Host: GitHub
- URL: https://github.com/centic9/bzstats
- Owner: centic9
- Created: 2022-04-18T14:24:15.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-26T05:32:42.000Z (about 2 months ago)
- Last Synced: 2024-10-04T13:07:24.138Z (about 2 months ago)
- Language: Jupyter Notebook
- Size: 2.95 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This project will fetch current bug-statistics for [Apache POI](https://poi.apache.org/) and produce a time-chart of how many bugs were in certain states.
This visualizes trends in how bug-entries develop over time.
# Current chart
![Latest chart](/stats.svg)
# Updating stats and charts via Github Actions
The Github Action at https://github.com/centic9/bzstats/actions/workflows/refresh.yml performs the necessary steps to update
the current stats and also refresh the chart.# Requirements for manually updating stats and chart
## Fetching stats
Running the tool will add new lines to the file `stats.csv` with the current numbers.
The time-series is developing by periodically invoking the tool.
An installation of the JDK is necessary
## Required packages for producing the SVG chart
The following packages need to be installed to convert the data from
* cairo development files (libcairo-dev on Debian/Ubuntu)
* R
* R packages
* parsedate
* reshape2
* ggplot2
* gdtools
* svglite
* systemfontsInstall packages via
```
sudo apt-get install libcairo2-dev
``````
$ R
> install.packages("parsedate")
> install.packages("reshape2")
> install.packages("ggplot2")
> install.packages("gdtools")
> install.packages("svglite")
> quit()
```# How to create/update stats and chart
```
./gradlew refresh
```# Other charts provided by Bugzilla
## Pie Chart for Status Distribution
[Chart on bz.apache.org](https://bz.apache.org/bugzilla/report.cgi?z_axis_field=&format=pie&x_axis_field=bug_status&x_labels_vertical=1&no_redirect=1&query_format=report-graph&short_desc_type=allwordssubstr&short_desc=&product=POI&longdesc_type=allwordssubstr&longdesc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&bug_id=&bug_id_type=anyexact&votes=&votes_type=greaterthaneq&emailtype1=substring&email1=&emailtype2=substring&email2=&emailtype3=substring&email3=&chfieldvalue=&chfieldfrom=&chfieldto=Now&j_top=AND&f0=OP&j0=AND&f1=OP&j2=AND&f3=CP&f4=CP&f5=noop&o5=noop&v5=&action=wrap)
## Status Counts Chart
[Status Counts Chart](https://bz.apache.org/bugzilla/reports.cgi?product_id=39&datasets=UNCONFIRMED&datasets=NEW&datasets=ASSIGNED&datasets=REOPENED&datasets=NEEDINFO&datasets=RESOLVED&datasets=VERIFIED&datasets=CLOSED&datasets=FIXED&datasets=INVALID&datasets=WONTFIX&datasets=LATER&datasets=REMIND&datasets=DUPLICATE&datasets=WORKSFORME&datasets=MOVED&datasets=CLOSED&datasets=INFORMATIONPROVIDED)
## Status Counts Chart - Only active states
[Status Counts Chart - Only active stats](https://bz.apache.org/bugzilla/reports.cgi?product_id=39&datasets=UNCONFIRMED&datasets=NEW&datasets=ASSIGNED&datasets=REOPENED&datasets=NEEDINFO)