Using metrics like flog can be immensely helpful for cleaning up code. However, metrics are fallible, and flog is no exception.
During a session of some serious code refactoring, flog was returning high scores on a couple of methods that appeared to be relatively clean, and the main culprit for the scores was something... Continue reading »