Conditional Complexity Overall
  • There are 1,145 units with 9,228 lines of code in units (18.7% of code).
    • 0 very complex units (0 lines of code)
    • 2 complex units (108 lines of code)
    • 16 medium complex units (482 lines of code)
    • 126 simple units (2,239 lines of code)
    • 1,001 very simple units (6,399 lines of code)
0% | 1% | 5% | 24% | 69%
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% | 1% | 6% | 25% | 66%
py0% | 0% | 2% | 58% | 38%
java0% | 0% | 0% | 6% | 93%
cjs0% | 0% | 0% | 86% | 14%
kts0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
openai-java-core0% | 1% | 6% | 26% | 65%
buildSrc0% | 0% | 21% | 0% | 78%
scripts0% | 0% | 2% | 60% | 36%
openai-java-client-okhttp0% | 0% | 0% | 28% | 71%
openai-java-example0% | 0% | 0% | 6% | 93%
openai-java-bedrock0% | 0% | 0% | 16% | 83%
openai-java-runtime-compatibility0% | 0% | 0% | 0% | 100%
gradle0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
43 36 1
65 28 1
23 19 1
23 19 1
23 19 1
16 18 4
21 17 1
20 16 1
50 16 1
18 14 1
18 14 1
40 14 1
17 13 1
17 13 1
51 13 0
60 12 1
70 12 1
15 11 1
14 10 1
14 10 1
14 10 1
14 10 1
14 10 1
14 10 1
14 10 1
14 10 1
14 10 1
14 10 1
14 10 1
14 10 1
14 10 1
14 10 1
14 10 1
14 10 1
14 10 1
88 10 1
44 10 4
21 10 2
38 10 4
50 10 0
9 10 2
13 9 1
13 9 1
22 9 0
45 9 1
45 8 2
58 8 0
28 8 1
32 8 0
12 8 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...