Conditional Complexity Overall
  • There are 627 units with 16,468 lines of code in units (76.8% of code).
    • 5 very complex units (3,026 lines of code)
    • 7 complex units (1,011 lines of code)
    • 56 medium complex units (3,315 lines of code)
    • 105 simple units (4,254 lines of code)
    • 454 very simple units (4,862 lines of code)
18% | 6% | 20% | 25% | 29%
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
py18% | 6% | 20% | 25% | 29%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
scripts60% | 0% | 0% | 36% | 2%
data_generation17% | 12% | 24% | 19% | 25%
videox_fun8% | 0% | 21% | 26% | 42%
VLM-MASK-REASONER0% | 18% | 21% | 23% | 36%
inference0% | 0% | 88% | 11% | 0%
config0% | 0% | 0% | 11% | 88%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
616 76 3
986 74 0
883 67 0
280 52 2
261 51 2
312 45 13
141 37 7
141 34 3
134 32 3
85 30 1
85 30 1
113 27 3
107 24 3
84 24 4
86 23 8
82 23 11
76 22 12
96 22 2
76 22 12
96 22 2
92 22 8
111 21 3
78 21 4
67 20 1
72 20 3
107 19 1
42 19 4
67 18 7
84 18 3
43 18 5
70 17 1
182 17 0
67 17 3
53 17 5
60 16 5
46 16 2
101 16 2
36 16 1
21 15 4
51 15 1
28 15 2
26 15 1
98 14 3
43 14 4
57 14 3
55 14 0
36 13 1
70 13 6
26 13 2
18 13 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...