Conditional Complexity Overall
  • There are 1,346 units with 15,333 lines of code in units (0.1% of code).
    • 5 very complex units (912 lines of code)
    • 20 complex units (1,513 lines of code)
    • 126 medium complex units (4,683 lines of code)
    • 149 simple units (3,085 lines of code)
    • 1,046 very simple units (5,140 lines of code)
5% | 9% | 30% | 20% | 33%
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
py7% | 11% | 31% | 19% | 30%
cpp0% | 4% | 23% | 19% | 51%
hpp0% | 0% | 19% | 31% | 49%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
preprints5% | 9% | 30% | 20% | 33%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
369 172 0
273 129 0
120 66 3
55 60 2
95 57 0
73 48 5
65 45 1
65 39 0
94 37 1
128 36 0
101 36 0
132 35 1
54 33 2
78 32 0
102 31 2
33 31 0
48 30 1
46 30 4
80 29 1
44 29 2
70 28 2
49 28 1
43 27 2
88 26 1
120 26 0
42 25 0
26 24 4
97 24 0
114 23 0
43 23 0
35 23 3
28 23 5
48 22 3
23 21 4
27 21 4
37 21 2
161 21 0
25 20 6
37 20 1
31 20 1
56 20 0
59 19 3
34 19 2
29 19 2
55 19 0
76 19 0
24 19 4
41 18 7
21 18 0
47 18 0
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...