superdesk/superdesk-client-core

View on GitHub
scripts/core/itemList/itemList.ts

Summary

Maintainability
A
3 hrs
Test Coverage

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

                link: function(scope, element, attrs) {
                    scope.items = null;
                    scope.processedItems = null;
                    scope.selected = null;
                    var oldSearch = null;
Severity: Major
Found in scripts/core/itemList/itemList.ts - About 2 hrs to fix

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

                        var setProcessedItems = () => {
                            if (scope.loading) {
                                return;
                            }
    
    
    Severity: Minor
    Found in scripts/core/itemList/itemList.ts - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status