MENU

Fun & Interesting

Cyclomatic Complexity Metric | Shodh Talks

Video Not Working? Fix It Now

Cyclomatic Complexity Metric is a software metric that is used to evaluate the complexity of a program. It is computed by developing a Control Flow Graph of the source code that measures the number of linearly-independent paths through a program module. It is mainly used for Structured or White Box Testing. A low cyclomatic complexity generally indicates a method that is easy to understand, test, and maintain. Cyclomatic complexity metric is an important metric as it helps us to quantitatively measure the modularization effort of the code so the software is testable and maintainable. Testability and maintainability are important because they take up most of the time and effort in the development life-cycle of the software product. Chitkara Shodh Talks

Comment