Conditional Complexity Overall
  • There are 105 units with 2,474 lines of code in units (0.0% of code).
    • 6 very complex units (1,260 lines of code)
    • 3 complex units (133 lines of code)
    • 13 medium complex units (281 lines of code)
    • 37 simple units (553 lines of code)
    • 46 very simple units (247 lines of code)
50% | 5% | 11% | 22% | 9%
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
py66% | 3% | 5% | 18% | 5%
js30% | 7% | 19% | 27% | 15%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
tools56% | 4% | 9% | 20% | 8%
html30% | 7% | 19% | 27% | 15%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
766 287 0
164 126 3
97 83 1
97 83 1
68 54 1
68 54 1
53 31 7
40 30 3
40 30 3
27 25 2
27 25 2
35 23 1
19 19 1
39 19 0
39 19 0
13 14 3
13 14 3
11 13 1
11 13 1
21 11 1
13 11 0
13 11 0
12 10 1
16 10 0
13 10 1
16 10 2
16 10 0
13 10 1
16 10 2
18 9 3
10 9 3
18 9 0
10 9 3
18 9 0
16 8 1
7 8 2
16 8 1
156 8 2
7 8 2
16 8 1
9 7 1
6 7 2
7 7 1
9 7 3
7 7 1
9 7 3
12 6 1
12 6 3
10 6 2
6 6 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...