Conditional Complexity Overall
  • There are 371 units with 8,727 lines of code in units (35.6% of code).
    • 0 very complex units (0 lines of code)
    • 3 complex units (260 lines of code)
    • 19 medium complex units (1,188 lines of code)
    • 41 simple units (1,445 lines of code)
    • 308 very simple units (5,834 lines of code)
0% | 2% | 13% | 16% | 66%
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
py0% | 9% | 23% | 25% | 40%
hpp0% | 1% | 11% | 14% | 73%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
scripts0% | 19% | 34% | 30% | 15%
csrc0% | 1% | 11% | 14% | 73%
deep_gemm0% | 0% | 12% | 20% | 66%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
98 40 1
92 35 1
70 28 1
67 24 1
50 23 8
50 17 1
69 15 4
33 15 1
146 13 27
91 13 10
17 13 7
20 13 5
16 13 7
17 13 2
119 12 32
190 12 30
30 12 1
35 12 2
28 11 6
71 11 2
14 11 1
125 11 3
88 10 8
16 10 4
21 10 1
32 10 1
51 9 9
35 9 9
27 9 6
31 9 2
32 8 9
125 8 22
12 8 1
15 8 3
57 8 1
38 7 7
53 7 7
37 7 5
45 7 11
57 7 13
55 7 11
65 7 14
11 7 2
15 7 2
51 7 11
15 7 1
17 7 1
26 6 6
22 6 12
108 6 16
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...