Conditional Complexity Overall
  • There are 47 units with 1,021 lines of code in units (34.3% of code).
    • 1 very complex units (77 lines of code)
    • 5 complex units (277 lines of code)
    • 7 medium complex units (268 lines of code)
    • 15 simple units (221 lines of code)
    • 19 very simple units (178 lines of code)
7% | 27% | 26% | 21% | 17%
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
py9% | 30% | 29% | 15% | 14%
js0% | 23% | 11% | 48% | 16%
tsx0% | 0% | 29% | 23% | 46%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
tres-finance-plugin9% | 30% | 29% | 15% | 14%
html-plan0% | 23% | 11% | 48% | 16%
next-steps0% | 0% | 29% | 23% | 46%
Most Complex Units
Top 47 most complex units
Unit# linesMcCabe index# params
77 55 1
51 43 1
39 36 0
53 34 2
95 28 3
39 27 1
84 25 6
24 21 1
31 20 1
19 17 5
25 14 2
63 13 0
22 13 1
11 10 0
10 10 1
9 10 1
7 10 2
15 10 3
16 10 1
13 9 2
17 8 5
11 8 0
20 8 1
38 7 1
13 7 1
7 6 1
9 6 6
25 6 0
4 5 1
4 4 0
5 3 1
9 3 2
7 3 2
12 3 3
12 3 2
4 3 2
4 2 1
9 2 4
6 2 1
6 2 1
33 2 1
14 2 0
19 2 1
5 1 1
16 1 0
5 1 2
4 1 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...