myems-admin/js/plugins/ui-sortable/sortable.js

Summary

Maintainability
C
1 day
Test Coverage

Function link has 211 lines of code (exceeds 25 allowed). Consider refactoring.
Open

                    link: function(scope, element, attrs, ngModel) {
                        var savedNodes;

                        function combineCallbacks(first,second){
                            if(second && (typeof second === 'function')) {
Severity: Major
Found in myems-admin/js/plugins/ui-sortable/sortable.js - About 1 day to fix

    Function start has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

                                callbacks.start = function(e, ui) {
                                    if (opts['ui-floating'] === 'auto') {
                                        // since the drag has started, the element will be
                                        // absolutely positioned, so we check its siblings
                                        var siblings = ui.item.siblings();
    Severity: Minor
    Found in myems-admin/js/plugins/ui-sortable/sortable.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status