Conditional Complexity Overall
  • There are 269 units with 5,955 lines of code in units (59.1% of code).
    • 1 very complex units (216 lines of code)
    • 8 complex units (811 lines of code)
    • 23 medium complex units (1,578 lines of code)
    • 40 simple units (1,331 lines of code)
    • 197 very simple units (2,019 lines of code)
3% | 13% | 26% | 22% | 33%
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
ts4% | 11% | 27% | 22% | 34%
py0% | 24% | 23% | 19% | 33%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src5% | 13% | 26% | 22% | 32%
agent-approval-check0% | 23% | 22% | 16% | 38%
.github0% | 29% | 25% | 26% | 18%
base-action0% | 0% | 31% | 26% | 42%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
216 52 4
157 42 2
117 42 1
92 34 1
75 32 3
58 31 1
145 31 0
92 29 1
75 26 1
197 25 11
52 24 1
42 24 1
72 23 0
107 22 1
118 21 1
69 21 3
67 20 1
24 19 1
80 17 4
62 17 1
112 16 7
68 16 0
50 15 1
50 14 0
44 14 1
42 14 4
24 13 0
34 13 4
69 13 5
33 12 2
51 11 1
111 11 0
35 10 2
37 10 1
23 10 1
83 10 4
37 10 3
132 10 3
33 9 0
26 9 1
47 9 3
35 9 1
52 9 2
24 9 0
57 9 0
14 8 2
24 8 1
41 8 2
38 8 3
25 8 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...