Conditional Complexity Overall
  • There are 31 units with 723 lines of code in units (59.7% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 3 medium complex units (183 lines of code)
    • 6 simple units (205 lines of code)
    • 22 very simple units (335 lines of code)
0% | 0% | 25% | 28% | 46%
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
go0% | 0% | 25% | 28% | 46%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
data-preparation0% | 0% | 56% | 0% | 43%
model-runner0% | 0% | 19% | 26% | 54%
reportaverages0% | 0% | 0% | 100% | 0%
sonnet0% | 0% | 0% | 68% | 31%
common0% | 0% | 0% | 100% | 0%
schema0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 31 most complex units
Unit# linesMcCabe index# params
53 15 2
71 15 0
59 12 0
29 9 3
35 9 5
43 8 0
22 7 1
48 6 4
28 6 1
23 5 3
23 4 4
23 4 4
21 4 3
14 4 1
20 4 3
13 3 2
16 3 2
38 3 2
11 3 1
13 3 1
16 3 1
8 2 2
9 2 2
12 2 5
11 2 3
8 2 1
9 2 1
3 1 1
5 1 1
16 1 2
23 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...