Conditional Complexity Overall
  • There are 3,950 units with 29,777 lines of code in units (26.8% of code).
    • 4 very complex units (773 lines of code)
    • 8 complex units (614 lines of code)
    • 43 medium complex units (1,567 lines of code)
    • 128 simple units (2,319 lines of code)
    • 3,767 very simple units (24,504 lines of code)
2% | 2% | 5% | 7% | 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
py2% | 2% | 5% | 7% | 82%
cjs0% | 0% | 0% | 79% | 20%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
scripts22% | 9% | 14% | 25% | 28%
src1% | 1% | 4% | 6% | 86%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
350 202 2
180 74 2
128 60 1
115 55 2
59 44 3
72 40 4
111 37 3
111 36 3
109 35 2
66 31 3
41 27 4
45 26 1
48 25 1
41 23 2
24 21 3
26 21 1
42 21 4
45 21 2
44 21 4
42 20 3
33 19 2
49 18 0
16 18 4
64 18 2
22 18 1
36 17 1
31 17 0
21 17 3
45 17 1
49 17 2
32 16 3
43 16 4
20 15 4
56 15 2
56 15 2
56 15 2
56 15 2
56 15 2
36 14 2
18 14 2
27 13 1
37 13 4
45 13 1
21 13 1
33 12 1
33 12 1
65 12 0
17 12 2
32 12 2
17 11 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...