willstocks-tech/dynamically-polyfill-features-for-a-script

View on GitHub

Showing 1 of 1 total issue

Function checking has a Cognitive Complexity of 12 (exceeds 10 allowed). Consider refactoring.
Open

function checking(check) {
var splitChars = ".";
if(window.hasOwnProperty(check)!== true || (typeof this.check !== 'function') !== true || (check in this) !== true) {
if (check.indexOf(splitChars) >= 1) {
var split = check.split(".");
Severity: Minor
Found in dynamicpolyfill.js - About 35 mins to fix
Severity
Category
Status
Source
Language