Conditional Complexity Overall
  • There are 155 units with 1,895 lines of code in units (47.9% of code).
    • 1 very complex units (334 lines of code)
    • 0 complex units (0 lines of code)
    • 4 medium complex units (417 lines of code)
    • 4 simple units (151 lines of code)
    • 146 very simple units (993 lines of code)
17% | 0% | 22% | 7% | 52%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
rs20% | 0% | 25% | 7% | 46%
py0% | 0% | 0% | 8% | 91%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src20% | 0% | 25% | 7% | 46%
python0% | 0% | 0% | 8% | 91%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
334 85 2
113 21 4
73 16 4
60 13 4
171 13 2
21 9 3
39 9 1
40 8 3
51 7 2
12 5 1
30 5 3
25 5 2
23 4 4
18 4 0
5 3 1
26 3 2
3 2 1
5 2 2
5 2 2
5 2 3
2 2 1
3 2 2
3 2 1
3 2 1
16 2 2
10 2 4
20 2 3
33 2 4
24 2 3
24 2 3
23 2 3
24 2 4
6 1 2
10 1 1
2 1 2
2 1 3
2 1 1
2 1 1
2 1 0
2 1 2
6 1 0
6 1 0
2 1 1
3 1 2
2 1 0
2 1 0
3 1 2
3 1 2
3 1 2
2 1 1
About This Analysis
  • Conditional complexity (also called cyclomatic complexity) is a term used to measure the complexity of software. The term refers to the number of possible paths through a program function. A higher value ofter means higher maintenance and testing costs (infosecinstitute.com).
  • Conditional complexity is calculated by counting all conditions in the program that can affect the execution path (e.g. if statement, loops, switches, and/or operators, try and catch blocks...).
  • Conditional complexity is measured at the unit level (methods, functions...).
  • Units are classified in four categories based on the measured McCabe index: 1-5 (simple units), 6-10 (medium complex units), 11-25 (complex units), 26+ (very complex units).
Learn more...