Created
January 18, 2016 03:33
-
-
Save ssmythe/8bf6dd852912963fa8dc to your computer and use it in GitHub Desktop.
What's a Good Flog Score?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From: http://jakescruggs.blogspot.com/2008/08/whats-good-flog-score.html | |
What's a Good Flog Score? | |
I've been using Flog to measure the complexity of my Ruby code and I was wondering how others interpret Flog numbers. | |
I'll go first with my opinions: | |
Score of Means | |
0-10 Awesome | |
11-20 Good enough | |
21-40 Might need refactoring | |
41-60 Possible to justify | |
61-100 Danger | |
100-200 Whoop, whoop, whoop | |
200 + Someone please think of the children | |
(note: these are scores for an individual method) | |
The 20 - 60 range is interesting to me. Sometimes the complexity of what you're doing will justify the score and other times | |
the method is in desperate need of refactoring. | |
The highest Flog score I've seen in the wild was in the 300's. What's you're personal high and what do you think of my rankings? | |
In other news, I've redesigned the look of my blog so if you only see my post through a reader you might want to stop on by, | |
take a look, and tell me what you think. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment