(This article originally appeared in the November 2012 issue of GroovyMag) The ABC metric can be used to assess the size of Groovy code, from single methods all the way up through entire codebases. In this article, we see how to measure ABC using GMetrics, and how to enforce an upper limit using CodeNarc to improve the maintainability of our code. The ABC metric was developed by Jerry Fitzpatrick
{{#tags}}- {{label}}
{{/tags}}