superdesk/superdesk-client-core

View on GitHub
scripts/core/activity/activity-list-directive.ts

Summary

Maintainability
B
4 hrs
Test Coverage

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

                link: function(scope, elem, attrs) {
                    scope.item.actioning = {};

                    var intent: any = {
                        action: scope.action,
Severity: Major
Found in scripts/core/activity/activity-list-directive.ts - About 2 hrs to fix

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

                        var initializeActivities = function(item) {
                            if (!item) {
                                return;
                            }
    
    
    Severity: Minor
    Found in scripts/core/activity/activity-list-directive.ts - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status