Conditional Complexity Overall
  • There are 4,597 units with 54,135 lines of code in units (55.6% of code).
    • 4 very complex units (651 lines of code)
    • 18 complex units (2,333 lines of code)
    • 175 medium complex units (10,783 lines of code)
    • 343 simple units (11,174 lines of code)
    • 4,057 very simple units (29,194 lines of code)
1% | 4% | 19% | 20% | 53%
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
h4% | 2% | 11% | 13% | 67%
cc0% | 5% | 25% | 23% | 46%
hpp0% | 6% | 12% | 21% | 60%
py0% | 0% | 20% | 24% | 55%
c0% | 0% | 16% | 42% | 41%
rs0% | 0% | 0% | 17% | 82%
cpp0% | 0% | 0% | 30% | 69%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src1% | 4% | 19% | 20% | 54%
benchmarks0% | 0% | 46% | 29% | 24%
deploy0% | 0% | 25% | 21% | 52%
hf3fs_utils0% | 0% | 17% | 37% | 45%
hf3fs_fuse0% | 0% | 44% | 0% | 55%
hf3fs0% | 0% | 0% | 24% | 75%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
134 130 2
152 67 1
152 67 1
213 53 2
68 49 2
254 48 9
112 47 2
58 44 3
256 42 1
162 41 3
184 39 9
143 39 2
129 36 2
102 35 1
151 32 4
163 30 2
70 29 1
179 29 5
60 28 1
45 27 1
129 26 7
68 26 4
79 25 1
138 24 0
135 23 3
68 23 2
149 23 3
97 22 1
95 22 6
66 22 2
93 22 3
85 22 3
57 21 3
94 21 5
134 21 4
75 21 1
105 21 1
26 21 0
121 21 3
123 21 3
101 20 6
94 20 2
113 20 3
74 19 1
141 19 0
94 19 5
41 19 3
50 19 4
51 19 3
108 19 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...