monsij/StudentPortal

View on GitHub
pro1/staticfiles/admin/js/SelectFilter2.js

Summary

Maintainability
B
5 hrs
Test Coverage

Function init has 131 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        init: function(field_id, field_name, is_stacked) {
            if (field_id.match(/__prefix__/)) {
                // Don't initialize on empty forms.
                return;
            }
Severity: Major
Found in pro1/staticfiles/admin/js/SelectFilter2.js - About 5 hrs to fix

    Function move_selection has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

                var move_selection = function(e, elem, move_func, from, to) {
    Severity: Minor
    Found in pro1/staticfiles/admin/js/SelectFilter2.js - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status