Conditional Complexity Overall
  • There are 398 units with 8,173 lines of code in units (79.3% of code).
    • 8 very complex units (1,846 lines of code)
    • 3 complex units (311 lines of code)
    • 27 medium complex units (1,345 lines of code)
    • 35 simple units (998 lines of code)
    • 325 very simple units (3,673 lines of code)
22% | 3% | 16% | 12% | 44%
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
hpp26% | 3% | 14% | 10% | 44%
py0% | 6% | 25% | 20% | 47%
cpp0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
deep_gemm30% | 2% | 16% | 12% | 37%
csrc10% | 2% | 14% | 9% | 63%
scripts0% | 24% | 31% | 27% | 16%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
284 128 2
210 103 2
115 80 1
378 64 7
134 61 2
163 60 5
218 57 5
344 57 8
74 37 5
150 35 10
87 35 2
39 25 3
37 24 3
32 23 1
118 22 16
33 22 1
96 21 1
88 20 6
77 20 13
81 19 5
13 17 3
34 17 1
64 16 10
66 15 1
49 15 6
32 15 1
24 14 3
48 13 2
24 13 3
20 13 1
75 12 7
22 12 4
66 11 1
36 11 4
51 11 2
66 11 2
11 11 3
43 11 0
25 10 1
13 10 1
26 9 6
11 9 1
91 9 6
44 9 2
35 9 7
20 9 1
18 9 1
42 8 6
31 8 8
38 8 4
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...