Conditional Complexity Overall
  • There are 91 units with 2,150 lines of code in units (81.7% of code).
    • 0 very complex units (0 lines of code)
    • 2 complex units (171 lines of code)
    • 14 medium complex units (783 lines of code)
    • 22 simple units (650 lines of code)
    • 53 very simple units (546 lines of code)
0% | 7% | 36% | 30% | 25%
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
py0% | 7% | 36% | 30% | 25%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
customer-support0% | 50% | 22% | 0% | 27%
news-curator0% | 13% | 27% | 32% | 26%
ai-radio0% | 0% | 34% | 44% | 21%
document-processor0% | 0% | 36% | 21% | 41%
seo-auditor0% | 0% | 82% | 0% | 17%
ROOT0% | 0% | 100% | 0% | 0%
repo-maintainer0% | 0% | 0% | 91% | 8%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
107 30 0
64 30 2
70 21 3
87 19 0
61 19 0
79 16 0
89 16 2
23 15 2
39 15 2
79 15 0
26 13 3
71 13 0
34 12 1
50 12 3
32 12 0
43 11 0
17 10 2
32 10 0
50 10 0
25 10 3
26 10 2
47 10 0
16 9 2
67 8 0
27 8 8
25 8 2
8 8 1
41 8 0
34 7 5
15 7 2
42 7 1
36 7 1
29 7 0
20 7 1
12 6 1
23 6 6
49 6 0
9 6 0
15 5 1
8 5 1
36 5 0
16 5 1
9 5 1
7 5 2
6 4 1
20 4 0
8 4 1
6 3 2
11 3 1
31 3 0
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...