Conditional Complexity Overall
  • There are 164 units with 2,522 lines of code in units (12.4% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 4 medium complex units (289 lines of code)
    • 12 simple units (560 lines of code)
    • 148 very simple units (1,673 lines of code)
0% | 0% | 11% | 22% | 66%
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
kt0% | 0% | 10% | 22% | 67%
py0% | 0% | 39% | 16% | 44%
java0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
graphql-dgs-codegen-core0% | 0% | 6% | 23% | 69%
graphql-dgs-codegen-shared-core0% | 0% | 36% | 26% | 37%
scripts0% | 0% | 39% | 16% | 44%
graphql-dgs-codegen-gradle0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
65 18 1
132 16 0
49 14 1
43 12 0
36 10 2
124 10 0
40 9 2
43 9 2
53 9 2
23 9 2
45 8 2
39 8 2
63 8 2
56 7 1
20 7 2
18 6 2
68 5 0
35 5 2
19 5 1
22 5 1
37 4 4
39 4 1
96 4 2
37 4 3
5 4 1
34 3 0
25 3 1
27 3 4
10 3 1
28 3 2
22 3 2
27 3 2
17 3 1
25 3 2
10 3 3
21 3 1
10 3 1
67 3 0
31 3 1
16 3 2
64 2 1
10 2 1
10 2 2
14 2 2
20 2 2
9 2 2
15 2 1
40 2 2
48 2 3
20 2 1
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...