Conditional Complexity Overall
  • There are 5,436 units with 42,220 lines of code in units (62.4% of code).
    • 6 very complex units (908 lines of code)
    • 25 complex units (2,200 lines of code)
    • 144 medium complex units (6,784 lines of code)
    • 318 simple units (7,107 lines of code)
    • 4,943 very simple units (25,221 lines of code)
2% | 5% | 16% | 16% | 59%
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
java4% | 8% | 18% | 17% | 51%
js1% | 1% | 12% | 15% | 68%
h3% | 6% | 15% | 12% | 62%
cpp0% | 8% | 19% | 20% | 52%
c0% | 0% | 69% | 24% | 6%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
core2% | 5% | 16% | 16% | 59%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
146 94 0
207 75 2
158 67 0
136 57 5
115 54 2
146 51 0
181 50 6
59 43 5
62 43 5
114 40 2
29 38 1
113 38 1
114 36 4
61 36 0
84 35 4
98 35 4
82 34 2
98 33 1
51 33 2
105 31 5
68 30 2
75 29 3
106 29 2
118 28 4
62 28 5
121 28 4
65 28 5
58 28 1
111 27 4
46 26 0
119 26 0
76 25 0
48 25 2
100 25 5
77 24 4
39 24 2
69 24 5
130 24 2
80 23 2
70 23 0
88 23 2
81 23 2
71 23 3
66 22 1
46 21 5
23 21 1
25 21 0
38 20 3
46 20 10
31 20 2
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...