angular / code.material.angularjs.org
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 17,083 units with 153,373 lines of code in units (8.3% of code).
    • 0 very complex units (0 lines of code)
    • 0 complex units (0 lines of code)
    • 102 medium complex units (4,766 lines of code)
    • 478 simple units (17,947 lines of code)
    • 16,503 very simple units (130,660 lines of code)
0% | 0% | 3% | 11% | 85%
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
js0% | 0% | 3% | 11% | 85%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
1.2.0-rc.10% | 0% | 3% | 11% | 85%
1.2.00% | 0% | 3% | 11% | 85%
1.2.0-rc.20% | 0% | 3% | 11% | 85%
1.2.20% | 0% | 3% | 11% | 85%
1.2.40% | 0% | 3% | 11% | 85%
HEAD0% | 0% | 3% | 11% | 85%
1.2.10% | 0% | 3% | 11% | 85%
1.2.30% | 0% | 3% | 11% | 85%
latest0% | 0% | 3% | 11% | 85%
1.1.250% | 0% | 3% | 11% | 85%
1.1.260% | 0% | 3% | 11% | 85%
1.1.240% | 0% | 3% | 11% | 85%
1.1.230% | 0% | 3% | 11% | 85%
1.1.220% | 0% | 3% | 11% | 85%
1.1.22-rc.00% | 0% | 3% | 11% | 85%
1.1.190% | 0% | 3% | 11% | 84%
1.1.210% | 0% | 3% | 11% | 84%
1.1.200% | 0% | 3% | 11% | 84%
1.1.170% | 0% | 3% | 11% | 85%
1.1.150% | 0% | 3% | 11% | 85%
1.1.160% | 0% | 3% | 11% | 85%
1.1.180% | 0% | 3% | 11% | 85%
1.1.140% | 0% | 3% | 11% | 85%
1.1.130% | 0% | 3% | 11% | 85%
1.1.120% | 0% | 3% | 11% | 84%
1.1.110% | 0% | 3% | 11% | 84%
1.1.100% | 0% | 3% | 11% | 84%
1.1.90% | 0% | 3% | 11% | 84%
1.1.80% | 0% | 3% | 11% | 84%
1.1.70% | 0% | 3% | 11% | 84%
1.1.50% | 0% | 3% | 11% | 84%
1.1.60% | 0% | 3% | 11% | 84%
1.1.40% | 0% | 3% | 11% | 84%
1.1.20% | 0% | 3% | 11% | 84%
1.1.30% | 0% | 3% | 11% | 84%
1.0.90% | 0% | 4% | 13% | 82%
1.1.0-rc.50% | 0% | 4% | 12% | 83%
1.1.10% | 0% | 4% | 11% | 83%
1.1.00% | 0% | 4% | 11% | 84%
1.0.80% | 0% | 1% | 12% | 85%
1.0.70% | 0% | 1% | 12% | 85%
1.0.60% | 0% | 1% | 13% | 85%
1.0.50% | 0% | 1% | 13% | 85%
1.1.0-rc40% | 0% | 1% | 11% | 86%
1.0.40% | 0% | 1% | 12% | 86%
1.0.20% | 0% | 1% | 12% | 86%
1.0.30% | 0% | 1% | 12% | 86%
1.0.10% | 0% | 1% | 12% | 86%
1.0.00% | 0% | 1% | 12% | 86%
0.11.40% | 0% | 1% | 12% | 85%
0.11.30% | 0% | 1% | 12% | 85%
0.11.20% | 0% | 1% | 12% | 85%
0.11.10% | 0% | 1% | 12% | 85%
0.11.00% | 0% | 1% | 12% | 85%
0.10.10% | 0% | 2% | 11% | 86%
0.10.00% | 0% | 2% | 11% | 86%
0.9.80% | 0% | 2% | 12% | 85%
0.9.70% | 0% | 2% | 12% | 85%
0.9.50% | 0% | 2% | 12% | 84%
0.9.60% | 0% | 2% | 12% | 84%
0.9.30% | 0% | 2% | 11% | 85%
0.9.00% | 0% | 2% | 11% | 85%
0.9.40% | 0% | 2% | 11% | 85%
Most Complex Units
Top 20 most complex units
Unit# linesMcCabe index# params
function buildGridModel()
in 1.1.2/demo-partials/gridList/demoDynamicTiles/script.js
33 13 1
AnimationCtrl.prototype.showDialog = function()
in 1.1.2/demo-partials/panel/demoPanelAnimations/script.js
69 13 0
function buildGridModel()
in 1.1.4/demo-partials/gridList/demoDynamicTiles/script.js
33 13 1
AnimationCtrl.prototype.showDialog = function()
in 1.1.4/demo-partials/panel/demoPanelAnimations/script.js
69 13 0
function buildGridModel()
in 1.1.25/demo-partials/gridList/demoDynamicTiles/script.js
33 13 1
AnimationCtrl.prototype.showDialog = function()
in 1.1.25/demo-partials/panel/demoPanelAnimations/script.js
69 13 0
function buildGridModel()
in 0.9.5/demo-partials/gridList/demoDynamicTiles/script.js
33 13 1
function buildGridModel()
in 1.0.5/demo-partials/gridList/demoDynamicTiles/script.js
33 13 1
function buildGridModel()
in 1.1.19/demo-partials/gridList/demoDynamicTiles/script.js
33 13 1
AnimationCtrl.prototype.showDialog = function()
in 1.1.19/demo-partials/panel/demoPanelAnimations/script.js
69 13 0
function buildGridModel()
in 1.1.5/demo-partials/gridList/demoDynamicTiles/script.js
33 13 1
AnimationCtrl.prototype.showDialog = function()
in 1.1.5/demo-partials/panel/demoPanelAnimations/script.js
69 13 0
function buildGridModel()
in 1.1.17/demo-partials/gridList/demoDynamicTiles/script.js
33 13 1
AnimationCtrl.prototype.showDialog = function()
in 1.1.17/demo-partials/panel/demoPanelAnimations/script.js
69 13 0
function buildGridModel()
in 1.2.0-rc.1/demo-partials/gridList/demoDynamicTiles/script.js
33 13 1
AnimationCtrl.prototype.showDialog = function()
in 1.2.0-rc.1/demo-partials/panel/demoPanelAnimations/script.js
69 13 0
function buildGridModel()
in 1.2.2/demo-partials/gridList/demoDynamicTiles/script.js
33 13 1
AnimationCtrl.prototype.showDialog = function()
in 1.2.2/demo-partials/panel/demoPanelAnimations/script.js
69 13 0
function buildGridModel()
in 1.1.0/demo-partials/gridList/demoDynamicTiles/script.js
33 13 1
function buildGridModel()
in 1.1.21/demo-partials/gridList/demoDynamicTiles/script.js
33 13 1