Conditional Complexity Overall
  • There are 1,780 units with 42,351 lines of code in units (51.8% of code).
    • 4 very complex units (1,202 lines of code)
    • 34 complex units (6,164 lines of code)
    • 149 medium complex units (11,094 lines of code)
    • 261 simple units (10,607 lines of code)
    • 1,332 very simple units (13,284 lines of code)
2% | 14% | 26% | 25% | 31%
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
c2% | 16% | 28% | 28% | 23%
py4% | 8% | 14% | 17% | 54%
cpp0% | 16% | 48% | 11% | 23%
h0% | 0% | 12% | 33% | 53%
pyx0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
libvmaf2% | 16% | 28% | 27% | 25%
python4% | 8% | 14% | 16% | 55%
matlab0% | 13% | 58% | 20% | 7%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
291 171 1
454 113 27
319 80 2
138 62 2
132 50 1
107 47 2
150 45 3
134 45 6
119 44 3
78 43 5
227 43 10
148 42 5
140 41 4
348 37 12
351 37 12
311 36 12
408 36 13
403 36 13
140 35 0
368 35 13
406 34 6
338 34 6
96 34 4
151 32 12
85 32 6
101 31 0
91 30 1
105 28 7
69 27 2
109 27 4
72 27 29
215 27 6
220 27 6
79 26 2
71 26 6
165 26 10
115 26 10
112 26 4
88 25 6
85 25 12
97 25 4
148 24 2
116 24 11
95 24 2
79 24 2
117 24 4
52 23 2
53 23 2
29 23 1
100 23 4
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...