3 ms·
Tools for measuring code "complexity" already exist. Cyclomatic Complexity is a popular metric: https://en.wikipedia.org/wiki/Cyclomatic_complexity https://en.
by cpeterso 15y ago
Tools for measuring code "complexity" already exist. Cyclomatic Complexity is a popular metric:
https://en.wikipedia.org/wiki/Cyclomatic_complexity 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 http://checkstyle.sourceforge.net/config_metrics.html