microsoft / google-play-vsts-extension
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 116 units with 2,281 lines of code in units (83.8% of code).
    • 0 very complex units (0 lines of code)
    • 1 complex units (146 lines of code)
    • 7 medium complex units (455 lines of code)
    • 18 simple units (604 lines of code)
    • 90 very simple units (1,076 lines of code)
0% | 6% | 19% | 26% | 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
ts0% | 11% | 16% | 20% | 51%
js0% | 0% | 24% | 34% | 41%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
Tasks/GooglePlayReleaseV40% | 70% | 0% | 29% | 0%
ROOT0% | 0% | 24% | 34% | 41%
Tasks/GooglePlayReleaseV4/modules0% | 0% | 11% | 18% | 69%
Tasks/GooglePlayPromoteV20% | 0% | 41% | 18% | 40%
Tasks/GooglePlayStatusUpdateV20% | 0% | 55% | 0% | 44%
Tasks/GooglePlayRolloutUpdateV30% | 0% | 0% | 36% | 63%
Most Complex Units
Top 20 most complex units
Unit# linesMcCabe index# params
async function run()
in Tasks/GooglePlayReleaseV4/main.ts
146 30 0
function getImageList()
in Tasks/GooglePlayReleaseV4/modules/metadataHelper.ts
76 21 1
91 19 0
async function run()
in Tasks/GooglePlayStatusUpdateV2/google-play-status-update.ts
69 15 0
52 15 1
56 14 2
async function run()
in Tasks/GooglePlayPromoteV2/google-play-promote.ts
71 13 0
40 12 2
async function addLanguageListing()
in Tasks/GooglePlayReleaseV4/modules/metadataHelper.ts
33 9 3
async function run()
in Tasks/GooglePlayRolloutUpdateV3/google-play-rollout-update.ts
55 9 0
33 9 2
33 9 4
async function prepareTrackUpdate()
in Tasks/GooglePlayReleaseV4/main.ts
60 8 10
32 8 3
31 8 1
14 8 1
export async function updateTrack()
in Tasks/GooglePlayReleaseV4/modules/googleutil.ts
43 7 8
async function addAllReleaseNotes()
in Tasks/GooglePlayReleaseV4/modules/metadataHelper.ts
25 7 3
var run = function()
in make-util.js
21 7 3
29 7 3