pinclub/pinclub

View on GitHub
public/libs/jquery.lazyloadxt.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function checkLazyElements has 51 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    function checkLazyElements(force) {
        if (!elements.length) {
            return;
        }

Severity: Major
Found in public/libs/jquery.lazyloadxt.js - About 2 hrs to fix

    Function lazyLoadXT has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        $.fn[lazyLoadXT] = function (overrides) {
            overrides = overrides || {};
    
            var blankImage = getOrDef(overrides, 'blankImage'),
                checkDuplicates = getOrDef(overrides, 'checkDuplicates'),
    Severity: Minor
    Found in public/libs/jquery.lazyloadxt.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status