Conditional Complexity Overall
  • There are 160 units with 2,445 lines of code in units (60.4% of code).
    • 1 very complex units (80 lines of code)
    • 4 complex units (407 lines of code)
    • 15 medium complex units (654 lines of code)
    • 18 simple units (403 lines of code)
    • 122 very simple units (901 lines of code)
3% | 16% | 26% | 16% | 36%
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
py3% | 16% | 26% | 16% | 36%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
evaluation3% | 17% | 27% | 16% | 34%
replicate0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
80 51 8
122 46 2
136 45 1
74 26 7
75 26 2
63 24 1
48 22 1
55 22 8
61 21 8
56 17 0
34 16 3
66 15 0
39 15 3
18 14 1
36 14 3
33 14 1
52 12 1
34 11 2
21 11 3
38 11 4
20 10 2
31 9 7
22 9 2
17 8 5
30 8 1
16 8 1
10 8 3
32 8 3
20 7 1
29 6 2
12 6 3
16 6 4
15 6 2
13 6 4
7 6 3
24 6 4
40 6 3
49 6 1
14 5 1
22 5 0
17 5 3
17 5 3
17 5 3
42 5 1
9 5 4
7 4 1
7 4 1
15 4 1
9 4 1
8 4 3
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...