Conditional Complexity Overall
  • There are 281 units with 4,867 lines of code in units (72.0% of code).
    • 1 very complex units (351 lines of code)
    • 3 complex units (625 lines of code)
    • 11 medium complex units (886 lines of code)
    • 26 simple units (839 lines of code)
    • 240 very simple units (2,166 lines of code)
7% | 12% | 18% | 17% | 44%
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
hpp10% | 17% | 13% | 15% | 42%
py0% | 0% | 29% | 21% | 49%
cpp0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
deep_ep9% | 16% | 22% | 15% | 35%
scripts0% | 0% | 23% | 46% | 29%
csrc0% | 0% | 0% | 17% | 82%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
351 82 1
366 42 12
175 31 9
84 26 1
262 23 19
58 18 4
98 18 9
37 17 10
34 17 3
119 13 22
74 13 4
61 12 20
50 12 3
73 11 7
20 11 1
41 10 6
109 10 10
17 10 1
36 10 7
13 10 1
47 9 1
18 9 5
43 8 14
43 8 5
14 8 1
12 8 1
14 8 3
18 7 2
70 7 4
26 7 1
63 7 4
12 7 1
12 7 1
10 7 1
15 6 3
14 6 7
47 6 10
52 6 10
31 6 8
18 6 2
44 6 1
6 5 1
15 5 4
52 5 4
17 5 2
40 5 2
19 5 4
27 5 1
6 5 1
6 5 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...