Cyclomatic Complexity Analysis
Cyclomatic Complexity is a software metric used to indicate the complexity of a program. The metric measures the number of linearly independent paths through a program's source code. A higher value means the code is more complex and potentially harder to test and maintain. Values above 10 are generally considered a warning sign.
- Total Complexity: 11 (Threshold is typically 10)
- File:
.\Samples\ComplexSample.ps1