Conditional Complexity Overall
  • There are 168 units with 4,940 lines of code in units (46.6% of code).
    • 2 very complex units (658 lines of code)
    • 5 complex units (562 lines of code)
    • 34 medium complex units (1,717 lines of code)
    • 34 simple units (895 lines of code)
    • 93 very simple units (1,108 lines of code)
13% | 11% | 34% | 18% | 22%
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
py18% | 12% | 38% | 17% | 13%
js0% | 8% | 23% | 21% | 47%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
server22% | 9% | 33% | 21% | 13%
functions15% | 17% | 46% | 11% | 8%
web0% | 8% | 23% | 21% | 47%
pi0% | 0% | 23% | 24% | 51%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
399 103 16
259 70 13
210 38 4
84 36 0
160 36 2
26 33 0
82 30 1
34 24 1
76 23 0
62 21 5
26 19 1
58 18 4
64 18 1
61 17 3
43 17 5
70 17 0
56 17 1
61 17 3
53 16 1
59 15 1
58 15 5
49 15 4
49 15 4
53 15 1
15 14 1
55 14 2
42 14 1
58 14 1
30 14 5
30 14 5
47 14 1
52 12 3
55 12 4
52 12 3
106 12 1
46 11 4
23 11 3
34 11 0
46 11 4
50 11 1
44 11 1
52 10 2
20 10 0
37 10 4
24 9 1
16 9 0
38 9 4
19 9 3
25 9 4
37 9 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...