Cyclomatic Complexity and Maintenence complexity are both metrics to measure how hard your code is for other programmers and yourself to maintain.
Cyclomatic complexity has been around for a while and measures how many linearly independent paths are in a program, the less conditionals the less complex the program. With Cyclomatic Complexity the higher the number the more difficult your code is to maintain, so higher numbers are bad.
I found this great article on cylomatic complexity here:
http://www.linuxjournal.com/article/8035Maintenance complexity is newer and some people are in disagreement with its methods. Higher numbers are also bad here as well. For more information on Maintenance complexity and how things are scored check out the creators blog:
http://www.doitwith.net/PermaLink.aspx?gui...5c-51e8b3d1d4ecThis post has been edited by runtime error: 29 Mar, 2008 - 02:47 PM