Conditional Complexity Overall
  • There are 101 units with 1,419 lines of code in units (76.0% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 2 medium complex units (61 lines of code)
    • 11 simple units (379 lines of code)
    • 88 very simple units (979 lines of code)
0% | 0% | 4% | 26% | 68%
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
py0% | 0% | 4% | 26% | 68%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
command_plugins0% | 0% | 3% | 20% | 76%
bot_components0% | 0% | 10% | 42% | 46%
ROOT0% | 0% | 0% | 55% | 44%
auth_plugins0% | 0% | 0% | 56% | 43%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
24 14 3
37 11 5
40 10 1
35 9 3
15 8 3
39 8 6
19 7 3
32 6 4
8 6 2
26 6 1
129 6 1
13 6 1
23 6 2
17 5 6
18 5 5
17 5 5
23 5 5
15 5 4
26 5 3
17 5 2
9 5 0
7 4 3
15 4 3
9 4 3
20 4 7
20 4 6
20 4 6
16 4 6
19 4 1
14 4 5
9 3 2
6 3 3
8 3 1
12 3 6
12 3 6
19 3 7
19 3 7
13 3 7
15 3 8
16 3 6
13 3 5
15 3 6
14 3 3
13 3 7
13 3 7
12 3 6
12 3 7
12 3 9
11 3 7
15 3 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...