Conditional Complexity Overall
  • There are 9,654 units with 59,342 lines of code in units (12.1% of code).
    • 0 very complex units (0 lines of code)
    • 12 complex units (450 lines of code)
    • 142 medium complex units (2,750 lines of code)
    • 987 simple units (11,725 lines of code)
    • 8,513 very simple units (44,417 lines of code)
0% | <1% | 4% | 19% | 74%
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% | 4% | 19% | 74%
java0% | 0% | 2% | 15% | 81%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
anthropic-java-core0% | <1% | 4% | 19% | 74%
anthropic-java-example0% | 0% | 2% | 16% | 80%
anthropic-java-aws0% | 0% | 38% | 0% | 61%
anthropic-java-bedrock0% | 0% | 16% | 21% | 61%
anthropic-java-detekt-rules0% | 0% | 10% | 18% | 71%
anthropic-java-vertex0% | 0% | 0% | 84% | 15%
anthropic-java-google-cloud0% | 0% | 0% | 56% | 43%
anthropic-java-foundry0% | 0% | 0% | 47% | 52%
anthropic-java-client-okhttp0% | 0% | 0% | 0% | 100%
anthropic-java-ecosystem-test0% | 0% | 0% | 0% | 100%
anthropic-java-mcp0% | 0% | 0% | 0% | 100%
buildSrc0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
50 46 1
43 39 1
43 39 1
41 37 1
38 34 1
38 34 1
34 30 1
34 30 1
34 30 1
33 29 1
32 28 1
30 26 1
27 23 1
27 23 1
27 23 1
27 23 1
27 23 1
27 22 1
26 22 1
26 22 1
25 21 1
25 21 1
25 21 1
24 20 1
24 20 1
24 20 1
24 20 1
24 20 1
24 20 1
24 20 1
24 20 1
24 20 1
24 20 1
23 19 1
23 19 1
45 18 0
22 18 1
22 18 1
22 18 1
22 18 1
22 18 1
22 18 1
22 18 1
50 18 0
21 17 1
21 17 1
21 17 1
21 17 1
20 16 1
20 16 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...