Conditional Complexity Overall
  • There are 4,088 units with 47,631 lines of code in units (76.0% of code).
    • 5 very complex units (6,568 lines of code)
    • 17 complex units (1,224 lines of code)
    • 192 medium complex units (6,830 lines of code)
    • 481 simple units (9,237 lines of code)
    • 3,393 very simple units (23,772 lines of code)
13% | 2% | 14% | 19% | 49%
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
js13% | 2% | 14% | 19% | 49%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
jspm_packages18% | 1% | 15% | 18% | 46%
harness0% | 5% | 12% | 24% | 57%
build0% | 6% | 12% | 22% | 58%
src0% | 0% | 0% | 30% | 69%
ROOT0% | 0% | 0% | 0% | 100%
deploy0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
3358 1034 0
2893 872 0
115 64 2
101 59 2
101 59 2
56 37 2
56 37 2
76 36 1
76 36 1
108 35 1
76 35 1
76 35 1
63 33 2
77 31 3
70 31 0
70 31 0
74 29 1
50 29 1
74 29 1
50 29 1
82 26 1
90 26 3
29 25 4
42 24 2
63 24 3
27 23 3
24 23 3
27 23 3
42 22 2
27 22 3
27 22 3
27 22 3
60 22 2
42 22 2
36 21 2
32 21 2
24 21 4
36 21 2
32 21 2
70 20 2
32 20 2
30 20 1
67 20 1
47 20 2
70 20 2
32 20 2
60 20 2
71 20 1
90 20 0
33 20 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...