Conditional Complexity Overall
  • There are 238 units with 4,216 lines of code in units (10.7% of code).
    • 5 very complex units (1,243 lines of code)
    • 2 complex units (197 lines of code)
    • 13 medium complex units (603 lines of code)
    • 17 simple units (479 lines of code)
    • 201 very simple units (1,694 lines of code)
29% | 4% | 14% | 11% | 40%
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
py29% | 4% | 14% | 11% | 40%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
sureal32% | 5% | 13% | 12% | 35%
resource0% | 0% | 46% | 5% | 48%
itur_bt500_demo0% | 0% | 0% | 0% | 100%
itut_p910_demo0% | 0% | 0% | 0% | 100%
itut_p913_demo0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
457 123 4
142 81 2
115 60 3
189 58 6
340 52 3
87 34 6
110 32 2
51 25 4
61 20 1
90 18 2
30 17 4
84 16 0
30 15 3
23 14 1
44 13 3
24 13 1
27 13 3
50 12 0
18 12 2
71 11 6
63 10 7
24 9 2
71 9 3
14 7 1
25 7 3
7 7 4
23 7 2
12 7 2
93 7 3
10 7 1
21 6 4
11 6 5
11 6 5
35 6 2
17 6 5
17 6 2
25 6 8
14 5 2
44 5 1
11 5 4
15 5 2
11 5 1
47 5 3
39 5 3
11 5 1
14 5 2
16 5 3
30 5 3
9 5 2
9 5 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...