Conditional Complexity Overall
  • There are 169 units with 4,641 lines of code in units (39.1% of code).
    • 0 very complex units (0 lines of code)
    • 2 complex units (856 lines of code)
    • 9 medium complex units (270 lines of code)
    • 18 simple units (767 lines of code)
    • 140 very simple units (2,748 lines of code)
0% | 18% | 5% | 16% | 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
js0% | 74% | 0% | 16% | 9%
py0% | 0% | 7% | 16% | 75%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
Archive0% | 38% | 4% | 18% | 38%
state_by_state0% | 0% | 3% | 48% | 47%
state_outbreaks0% | 0% | 5% | 0% | 94%
weekly0% | 0% | 10% | 0% | 89%
vaccine_availability0% | 0% | 13% | 0% | 86%
new_thrashers0% | 0% | 18% | 0% | 81%
booster_feed0% | 0% | 18% | 0% | 81%
modules0% | 0% | 18% | 0% | 81%
cases_and_hospo0% | 0% | 0% | 61% | 38%
ROOT0% | 0% | 0% | 0% | 100%
indigenous0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
428 37 1
428 37 1
78 12 2
24 11 1
24 11 1
24 11 1
24 11 1
24 11 1
24 11 1
24 11 1
24 11 1
17 10 1
17 10 1
17 10 1
38 9 0
50 8 3
15 7 3
15 7 3
15 7 3
15 7 3
15 7 3
19 7 4
15 7 3
15 7 3
97 7 2
105 6 2
91 6 2
127 6 6
84 6 5
8 5 1
8 5 1
8 5 1
61 3 1
16 3 1
12 3 2
58 3 1
17 2 2
6 2 1
36 2 1
6 2 1
6 2 1
5 2 1
30 2 4
30 2 4
30 2 4
11 2 3
12 2 3
19 1 1
20 1 3
22 1 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...