Conditional Complexity Overall
  • There are 7,333 units with 68,074 lines of code in units (55.5% of code).
    • 1 very complex units (115 lines of code)
    • 8 complex units (954 lines of code)
    • 76 medium complex units (3,860 lines of code)
    • 264 simple units (7,141 lines of code)
    • 6,984 very simple units (56,004 lines of code)
<1% | 1% | 5% | 10% | 82%
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
js1% | <1% | 6% | 8% | 83%
cpp0% | 14% | 18% | 24% | 42%
py0% | 2% | 16% | 23% | 57%
h0% | 3% | 0% | 5% | 90%
cc0% | 0% | 3% | 8% | 87%
c0% | 0% | 0% | 1% | 98%
php0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
web1% | <1% | 6% | 8% | 83%
crypto0% | 17% | 17% | 25% | 38%
base0% | 23% | 3% | 14% | 58%
plugin0% | <1% | 4% | 9% | 84%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
115 62 2
241 49 5
105 47 1
92 46 1
191 41 2
54 31 3
138 30 6
44 27 4
89 27 1
77 25 2
158 24 5
85 24 2
94 23 1
94 23 1
65 22 5
94 21 3
102 21 3
89 20 6
54 20 2
55 20 2
26 19 3
53 19 1
24 18 1
29 18 4
36 18 3
52 18 3
38 17 3
52 16 8
103 16 3
52 16 0
73 16 2
21 16 2
40 16 1
60 16 2
37 16 1
45 16 3
22 16 2
34 16 1
75 15 4
50 15 4
20 15 2
28 15 1
35 15 2
65 14 4
26 14 0
51 14 3
23 14 3
34 14 2
76 14 4
63 14 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...