facebook / SoLoader
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
  • 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...
Conditional Complexity Overall
  • There are 208 units with 2,097 lines of code in units (58.2% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 6 medium complex units (386 lines of code)
    • 18 simple units (493 lines of code)
    • 184 very simple units (1,218 lines of code)
0% | 0% | 18% | 23% | 58%
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
java0% | 0% | 18% | 23% | 57%
py0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
java/com/facebook/soloader0% | 0% | 19% | 24% | 56%
java/com/facebook/soloader/nativeloader0% | 0% | 0% | 0% | 100%
scripts0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
94 23 5
91 21 3
57 13 4
77 12 1
27 12 1
40 11 3
25 10 1
42 9 3
35 9 2
50 9 3
56 8 2
31 7 2
18 7 2
20 7 2
21 7 2
35 7 5
25 7 0
21 7 3
22 6 3
17 6 2
15 6 2
28 6 0
23 6 1
9 6 1
24 5 2
20 5 3
11 5 2
15 5 1
16 5 1
11 4 2
13 4 1
11 4 0
24 4 3
14 4 1
20 4 0
17 4 0
15 4 1
24 4 1
20 4 2
8 4 2
12 4 1
12 4 1
13 4 0
16 4 4
11 3 2
19 3 2
17 3 4
7 3 2
11 3 3
14 3 1