ShinyCMS code quality: an illustrated history

Posted by Denny at 11:11 on Sat, 24 Apr 2021

Following on from my post last night about the change in my Ruby Critic scores after I tweaked the config for flay, I thought I'd grab a copy of the code as it was at each of the releases I've tagged so far on GitHub, and get a screenshot of the Ruby Critic overview page for each - to see how the scores have shifted over time.

You can see where I started using Ruby Critic - between the 21.01 and 21.03 releases I break up the plugin generator code, which was the worst quality code in the project (not my code, I might add; it's a stripped down version of the Rails engine generator!) by such a wide margin that it was forcing everything else into the bottom quarter of the charts. Once I got that split up a bit, the rest of the files were able to spread out more usefully on the resulting zoomed-in scale :)

The screenshots below start with the most recent two that were in the previous post, and then head backwards in time. My milestone releases are usually on the 1st of the month, or at least in that general vicinity, so these are fairly evenly-spaced monthly snapshots for the last seven months. I've only pulled the tagged releases for now, which started in October 2020. That was one year after the project launched, and I must admit I am very curious to see how the story develops right from day one now... so I might go back and generate monthly screenshots for that first year at some point soon.

Current code, with .flayignore

Ruby Critic scores for current code - 93.95%

Current code, before adding .flayignore

Ruby Critic scores for current code before adding flayignore file - 88.82%

21.04

Ruby Critic scores for 21.04 release - 88,83%

21.03

Ruby Critic scores for 21.03 release - 87.84%

21.02

Ruby Critic scores for 21.02 release - 87.26%

21.01

Ruby Critic scores for 21.01 release - 81.62%

20.12

Ruby Critic scores for 20.12 release - 82.75%

20.11

Ruby Critic scores for 20.11 release - 82.97%

20.10

Ruby Critic scores for 20.10 release - 83.50%

Tags: code quality rubycritic releases

Code Quality vs Cheat Codes »

Comments

No comments found