Conditional Complexity Overall
  • There are 424 units with 3,741 lines of code in units (31.0% of code).
    • 0 very complex units (0 lines of code)
    • 2 complex units (155 lines of code)
    • 16 medium complex units (749 lines of code)
    • 53 simple units (808 lines of code)
    • 353 very simple units (2,029 lines of code)
0% | 4% | 20% | 21% | 54%
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% | 4% | 20% | 21% | 54%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
scripts0% | 15% | 26% | 17% | 40%
merchant-agent0% | 0% | 18% | 19% | 62%
commerce-common0% | 0% | 16% | 26% | 56%
shopping-agent0% | 0% | 20% | 24% | 55%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
96 40 0
59 31 0
45 25 0
148 24 2
113 23 2
47 22 2
38 20 2
51 19 3
26 18 4
37 14 2
23 13 2
21 12 2
16 11 3
40 11 2
14 11 2
28 11 0
71 11 0
31 11 2
18 10 3
13 10 3
16 10 1
14 10 2
33 10 1
14 10 3
10 9 3
9 9 1
10 9 2
12 9 2
30 9 0
18 9 0
12 9 2
29 9 2
15 9 3
9 9 3
13 9 1
13 8 3
11 8 1
17 8 3
18 8 0
37 8 0
21 7 2
14 7 3
18 7 1
9 7 1
10 7 2
15 7 3
9 7 2
12 7 2
12 7 3
36 7 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...