anthropics / healthcare
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
  • 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...
Conditional Complexity Overall
  • There are 73 units with 1,459 lines of code in units (71.7% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 5 medium complex units (218 lines of code)
    • 6 simple units (197 lines of code)
    • 62 very simple units (1,044 lines of code)
0% | 0% | 14% | 13% | 71%
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
ts0% | 0% | 17% | 6% | 76%
py0% | 0% | 7% | 38% | 53%
js0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
plugins0% | 0% | 15% | 13% | 71%
scripts0% | 0% | 12% | 18% | 69%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
93 23 2
36 14 1
64 13 1
15 11 2
10 11 2
102 10 0
31 7 1
26 7 2
7 6 2
16 6 1
15 6 1
8 5 1
21 5 1
13 5 3
20 5 2
18 5 1
18 5 1
5 4 1
11 4 1
16 4 1
10 4 1
5 3 0
8 3 2
12 3 0
7 3 1
62 3 2
61 3 2
60 3 2
59 3 4
53 3 2
52 3 4
46 3 2
45 3 2
41 3 4
35 3 3
30 3 2
26 3 2
25 3 2
24 3 2
23 3 4
9 3 0
24 3 2
5 2 1
5 2 1
5 2 1
4 2 1
7 2 2
4 2 1
12 2 1
27 2 2