5 ms·
CC by itself isn't all that useful but C.R.A.P index can come in pretty handing for identifying under tested code even if the occasional, and usually unnecessar
by keithnoizu 11y ago
CC by itself isn't all that useful but C.R.A.P index can come in pretty handing for identifying under tested code even if the occasional, and usually unnecessary, switch statement needs to be ignored.
- jcr 11y agoThanks for pointing out the C.R.A.P Index. A bit of digging found the initial blog post(s) from 2007, along with java and php coverage. Part 1: https://www.artima.com/weblogs/viewpost.jsp?thread=210434 https://www.artima.com/weblogs/viewpost.jsp?thread=210434 Part 2: https://www.artima.com/weblogs/viewpost.jsp?thread=210575 https://www.artima.com/weblogs/viewpost.jsp?thread=210575 crap4j: https://www.artima.com/weblogs/viewpost.jsp?thread=215899 https://www.artima.com/weblogs/viewpost.jsp?thread=215899 PHP: http://jacobsantos.com/blog/2007/general/what-is-your-crap-index http://jacobsantos.com/blog/2007/general/what-is-your-crap-i... PHP: http://www.levihackwith.com/how-to-read-and-improve-the-c-r-a-p-index-of-your-code/ http://www.levihackwith.com/how-to-read-and-improve-the-c-r-...