Closed kedwin closed 6 years ago
javascript function with one switch statement shows complexity 6
ver: 1.11.2 vscode: 1.20.1
function test(something) { switch (something) { case 'test': break; default: break; } }
And you can clearly see why when you click on the code lens ^^ However one can configure the weights to ignore certain expressions. See issue #14 for further details.
javascript function with one switch statement shows complexity 6
ver: 1.11.2 vscode: 1.20.1