Conditional Complexity Overall
  • There are 55 units with 1,066 lines of code in units (52.6% of code).
    • 0 very complex units (0 lines of code)
    • 4 complex units (298 lines of code)
    • 11 medium complex units (363 lines of code)
    • 12 simple units (189 lines of code)
    • 28 very simple units (216 lines of code)
0% | 27% | 34% | 17% | 20%
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
ts0% | 31% | 35% | 19% | 14%
tsx0% | 0% | 23% | 0% | 76%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
packages0% | 27% | 34% | 17% | 20%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
36 50 1
106 43 3
72 39 1
84 26 4
21 25 1
52 23 4
23 21 2
51 19 1
24 18 3
40 15 0
25 15 4
40 13 1
21 13 2
40 12 3
26 11 1
10 10 2
22 10 1
21 9 0
22 9 0
25 9 0
9 8 2
12 8 1
11 7 2
25 7 2
11 6 1
12 6 1
9 6 0
9 5 1
10 5 1
10 5 5
7 5 1
11 5 1
4 4 2
10 4 3
13 4 1
22 4 3
14 3 2
3 3 1
3 3 2
5 3 1
13 3 7
2 2 1
15 2 1
4 2 1
6 2 1
6 1 0
3 1 1
4 1 2
3 1 1
5 1 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...