Conditional Complexity Overall
  • There are 1,275 units with 11,518 lines of code in units (86.3% of code).
    • 2 very complex units (522 lines of code)
    • 1 complex units (102 lines of code)
    • 21 medium complex units (748 lines of code)
    • 70 simple units (1,831 lines of code)
    • 1,181 very simple units (8,315 lines of code)
4% | <1% | 6% | 15% | 72%
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
py4% | <1% | 6% | 15% | 72%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
packages4% | <1% | 6% | 15% | 72%
ROOT0% | 0% | 25% | 20% | 54%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
171 58 6
351 51 24
102 30 1
61 19 6
47 18 2
86 17 6
33 15 1
13 14 1
32 14 2
56 14 4
21 14 4
33 13 4
8 13 3
32 13 2
35 13 1
12 13 1
50 12 0
35 12 4
27 12 1
39 11 7
52 11 6
19 11 3
22 11 3
35 11 0
23 10 2
42 10 1
25 10 1
20 10 2
15 10 2
18 10 2
65 10 4
25 10 7
12 9 3
27 9 2
31 9 2
16 9 3
28 9 3
30 9 4
33 9 4
20 8 7
47 8 1
99 8 2
38 8 1
23 8 1
18 8 1
30 8 0
15 8 1
35 8 2
18 8 1
18 8 1
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...