aws-quickstart / quickstart-dotnetfx-ecs-cicd
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 696 units with 11,383 lines of code in units (85.9% of code).
    • 11 very complex units (2,562 lines of code)
    • 3 complex units (384 lines of code)
    • 55 medium complex units (2,074 lines of code)
    • 94 simple units (2,154 lines of code)
    • 533 very simple units (4,209 lines of code)
22% | 3% | 18% | 18% | 36%
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
js22% | 3% | 18% | 19% | 36%
cs0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
SampleWebApplication/MVC5App/Scripts36% | 6% | 13% | 14% | 29%
SampleWebApplication/MVC5App/Scripts/src7% | 0% | 24% | 22% | 46%
SampleWebApplication/MVC5App/Scripts/esm3% | 0% | 25% | 24% | 46%
SampleWebApplication/MVC5App/Scripts/umd3% | 0% | 24% | 27% | 45%
SampleWebApplication/MVC5App/App_Start0% | 0% | 0% | 0% | 100%
SampleWebApplication/MVC5App0% | 0% | 0% | 0% | 100%
SampleWebApplication/MVC5App/Models0% | 0% | 0% | 0% | 100%
SampleWebApplication/MVC5App/Controllers0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 20 most complex units
Unit# linesMcCabe index# params
(function (global, factory)()
in SampleWebApplication/MVC5App/Scripts/bootstrap.bundle.js
1077 121 2
var Dropdown = function()
in SampleWebApplication/MVC5App/Scripts/bootstrap.bundle.js
252 77 0
var Carousel = function()
in SampleWebApplication/MVC5App/Scripts/bootstrap.bundle.js
330 76 0
var Modal = function()
in SampleWebApplication/MVC5App/Scripts/bootstrap.bundle.js
346 67 0
113 62 1
113 62 1
export default function flip()
in SampleWebApplication/MVC5App/Scripts/src/modifiers/flip.js
95 56 2
function flip()
in SampleWebApplication/MVC5App/Scripts/popper.js
59 54 2
function flip()
in SampleWebApplication/MVC5App/Scripts/esm/popper.js
59 54 2
function flip()
in SampleWebApplication/MVC5App/Scripts/umd/popper.js
59 54 2
function flip()
in SampleWebApplication/MVC5App/Scripts/bootstrap.bundle.js
59 54 2
var Tab = function()
in SampleWebApplication/MVC5App/Scripts/bootstrap.bundle.js
116 32 0
var ScrollSpy = function()
in SampleWebApplication/MVC5App/Scripts/bootstrap.bundle.js
122 30 0
var Collapse = function()
in SampleWebApplication/MVC5App/Scripts/bootstrap.bundle.js
146 29 0
function getBoundaries()
in SampleWebApplication/MVC5App/Scripts/esm/popper.js
39 19 4
function getBoundaries()
in SampleWebApplication/MVC5App/Scripts/esm/popper-utils.js
39 19 4
function getBoundaries()
in SampleWebApplication/MVC5App/Scripts/umd/popper.js
39 19 4
function getBoundaries()
in SampleWebApplication/MVC5App/Scripts/umd/popper-utils.js
39 19 4
function getBoundaries()
in SampleWebApplication/MVC5App/Scripts/bootstrap.bundle.js
39 19 4
export default function getBoundaries()
in SampleWebApplication/MVC5App/Scripts/src/utils/getBoundaries.js
47 17 5