Conditional Complexity Overall
  • There are 3,330 units with 37,534 lines of code in units (73.4% of code).
    • 5 very complex units (6,670 lines of code)
    • 7 complex units (532 lines of code)
    • 159 medium complex units (5,366 lines of code)
    • 400 simple units (7,060 lines of code)
    • 2,759 very simple units (17,906 lines of code)
17% | 1% | 14% | 18% | 47%
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
js17% | 1% | 14% | 18% | 47%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
jspm_packages18% | 1% | 14% | 18% | 47%
harness0% | 0% | 18% | 31% | 50%
src0% | 0% | 0% | 27% | 72%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
3406 1060 0
2955 904 0
105 61 2
105 61 2
99 58 2
56 37 2
56 37 2
108 35 1
63 33 2
77 31 3
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
33 20 1
35 19 4
72 19 4
46 19 6
46 19 6
33 19 3
32 18 2
52 18 1
71 18 3
38 18 1
41 18 1
71 18 3
38 18 1
41 18 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...