Conditional Complexity Overall
  • There are 978 units with 15,455 lines of code in units (81.6% of code).
    • 5 very complex units (889 lines of code)
    • 18 complex units (1,717 lines of code)
    • 85 medium complex units (4,039 lines of code)
    • 132 simple units (3,193 lines of code)
    • 738 very simple units (5,617 lines of code)
5% | 11% | 26% | 20% | 36%
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
go6% | 11% | 27% | 18% | 36%
py0% | 0% | 2% | 58% | 38%
cjs0% | 0% | 0% | 86% | 14%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
internal7% | 13% | 24% | 15% | 38%
responses30% | 0% | 30% | 8% | 31%
ROOT6% | 7% | 31% | 19% | 34%
auth0% | 19% | 36% | 19% | 23%
option0% | 24% | 12% | 18% | 44%
bedrock0% | 13% | 31% | 24% | 29%
packages0% | 0% | 24% | 28% | 46%
webhooks0% | 0% | 52% | 0% | 47%
azure0% | 0% | 5% | 47% | 47%
scripts0% | 0% | 2% | 60% | 36%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
187 80 1
186 75 3
181 57 1
178 53 1
157 51 1
90 50 1
194 49 1
169 47 1
121 42 1
110 36 1
124 36 1
81 34 1
105 33 1
70 32 1
45 31 1
67 31 1
69 30 1
92 29 2
94 27 1
97 27 1
81 27 1
67 26 4
41 26 1
96 25 1
83 25 3
142 24 1
86 24 1
90 24 1
108 24 6
69 23 1
48 23 2
33 23 1
53 22 4
45 22 2
76 22 1
42 22 1
65 21 1
75 21 1
72 20 1
77 20 1
70 19 1
44 19 3
55 19 1
36 18 1
45 18 5
16 18 4
89 18 1
34 17 1
42 17 1
55 17 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...