Conditional Complexity Overall
  • There are 529 units with 6,166 lines of code in units (38.0% of code).
    • 1 very complex units (159 lines of code)
    • 1 complex units (102 lines of code)
    • 19 medium complex units (1,114 lines of code)
    • 46 simple units (1,112 lines of code)
    • 462 very simple units (3,679 lines of code)
2% | 1% | 18% | 18% | 59%
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
py2% | 1% | 18% | 18% | 59%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
tile_kernels2% | 1% | 18% | 18% | 59%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
159 58 2
102 27 6
112 23 3
72 22 11
70 21 4
54 19 1
103 19 8
47 18 1
141 18 3
43 16 8
38 15 3
51 15 2
51 14 2
48 14 3
29 13 1
23 12 2
46 11 5
61 11 4
48 11 5
22 11 1
55 11 7
45 10 8
13 10 2
23 10 2
34 10 2
21 9 3
97 9 2
40 9 3
15 9 2
11 9 1
40 8 9
69 8 2
41 8 5
16 8 1
9 8 1
60 8 7
17 7 4
36 7 7
37 7 3
20 7 4
23 7 3
46 7 5
29 7 6
32 7 2
6 7 2
13 7 2
10 7 2
30 7 1
20 7 3
21 7 3
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...