Skip to content

Instantly share code, notes, and snippets.

@TomConlin
Last active March 3, 2021 05:25
Show Gist options
  • Save TomConlin/54887c8a79e0466ba9fd8142015126fd to your computer and use it in GitHub Desktop.
Save TomConlin/54887c8a79e0466ba9fd8142015126fd to your computer and use it in GitHub Desktop.
Dipper-Quality

Dipper repo pylint-quality over time.

This graph is generated with git logs and python's builtin static analysis tool 'pylint'.

Pylint is called with only the default configuration.

For each series-of-commits by an author, the first & last are checked out and static analysis of the code base is preformed. capturing the first & final score (<= 10) of the interval. (I cant say one-to-ten as some files had negative scores)

I had it start at the eventual "average" score instead of zero or midway.

The first few commits are directory structures, readmes ect.

The rising arc over 2015 is when most of the code is added.

Beginning of 2016 is when responsibility for dipper shifted with the original authors 'moved on', and TISLAB begining maintaince.

Summer of 2018 we switched to OSU I dismantled all ingests and re assembled them in a more coherent & maintainable fashion allowing us to accrue improvements.

This graph is a reflection of a single, shallow, facet of the history of this system,
namely how "python-ey" the python code was.

Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# gen.plt
# pipe (corse) time series to gnuplot
# e.g.
# awk '{print $1 "T00:00:00", $3}' <date_author_score.txt |
# gnuplot gen.plt > dipper_pylint_interval.svg
# set term postscript eps enhanced
# set term svg size 1000,800
set output "/dev/stdout"
set term wxi size 1000,800
set xdata time;
set timefmt "%Y%m%dT%H%M%S";
set format x "%Y\n%m"
plot "/dev/stdin" using 1:2 with linespoints
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment