Conditional Complexity Overall
  • There are 186 units with 4,029 lines of code in units (41.0% of code).
    • 0 very complex units (0 lines of code)
    • 2 complex units (185 lines of code)
    • 29 medium complex units (1,377 lines of code)
    • 45 simple units (1,141 lines of code)
    • 110 very simple units (1,326 lines of code)
0% | 4% | 34% | 28% | 32%
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% | 34% | 28% | 32%
js0% | 0% | 28% | 38% | 32%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
bio-research0% | 4% | 33% | 28% | 33%
data0% | 0% | 58% | 22% | 19%
.github0% | 0% | 28% | 38% | 32%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
117 45 1
68 30 2
81 23 1
133 21 0
48 19 1
93 19 0
44 19 2
40 18 4
27 18 3
29 18 2
66 17 2
14 16 3
49 15 2
35 15 1
66 15 0
27 15 4
64 14 1
55 13 0
40 13 1
31 13 1
24 12 1
31 12 2
27 12 3
32 12 2
37 12 2
20 11 3
58 11 0
23 11 1
41 11 1
90 11 2
52 11 3
25 10 1
24 10 2
59 10 0
29 10 1
20 10 2
20 9 1
56 9 0
19 9 1
35 9 1
22 9 2
14 9 1
34 8 3
11 8 2
21 8 0
25 8 0
14 8 1
17 8 1
28 8 3
25 8 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...