facebookincubator / FioSynth
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 68 units with 1,323 lines of code in units (68.3% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 6 medium complex units (270 lines of code)
    • 7 simple units (108 lines of code)
    • 55 very simple units (945 lines of code)
0% | 0% | 20% | 8% | 71%
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
py0% | 0% | 20% | 8% | 71%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
fiosynth_lib0% | 0% | 20% | 8% | 71%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
48 16 1
34 13 3
59 12 6
34 12 3
40 11 3
55 11 6
19 8 3
18 8 3
12 8 7
19 7 4
11 7 3
17 7 3
12 6 1
25 5 2
19 5 5
14 5 1
11 5 3
20 5 1
13 5 1
19 5 2
11 4 1
91 4 3
22 4 2
17 4 2
11 4 1
26 4 1
24 4 4
16 4 1
21 4 1
18 4 2
21 4 1
19 4 2
6 3 1
14 3 0
23 3 4
19 3 4
12 3 2
10 3 2
12 3 1
15 3 2
9 3 3
11 3 7
4 2 2
19 2 1
9 2 1
3 2 1
16 2 1
15 1 0
6 1 2
4 1 0