1.

What Is Code Complexity And Why Should I Care About It?

Answer»

McCabe’s cyclomatic code complexity algorithm is used to determine how “COMPLEX” a given PIECE of code is. As code becomes more complex, it becomes more error prone. If a class has a HIGH complexity number, then that class is a good target for additional test coverage.

McCabe’s cyclomatic code complexity algorithm is used to determine how “complex” a given piece of code is. As code becomes more complex, it becomes more error prone. If a class has a high complexity number, then that class is a good target for additional test coverage.



Discussion

No Comment Found