Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Tools for measuring code "complexity" already exist. Cyclomatic Complexity is a popular metric:

https://en.wikipedia.org/wiki/Cyclomatic_complexity

checkstyle is a Java lint that, among other things, can check code complexity:

http://checkstyle.sourceforge.net/config_metrics.html



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: