drhenner/ror_ecommerce

View on GitHub
app/assets/javascripts/jquery.selectlist.js

Summary

Maintainability
C
1 day
Test Coverage

Function selectList has 173 lines of code (exceeds 25 allowed). Consider refactoring.
Open

$.selectList = function(select, options) {
    var

        $list,

Severity: Major
Found in app/assets/javascripts/jquery.selectlist.js - About 6 hrs to fix

    Function add has 39 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        function add(value, text, callHandler) {
            $option = null;
    
            if ($(value).is('option')) {
                $option = $(value);
    Severity: Minor
    Found in app/assets/javascripts/jquery.selectlist.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status