patternfly/angular-patternfly

View on GitHub
src/notification/notification.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function $get has 76 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  this.$get = ['$timeout', '$log', function ($timeout, $log) {
    var delay = this.delay;
    var notifications = this.notifications;
    var verbose = this.verbose;
    var persist = this.persist;
Severity: Major
Found in src/notification/notification.js - About 3 hrs to fix

    Function message has 8 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        notifications.message = function (type, header, message, isPersistent, closeCallback, actionTitle, actionCallback, menuActions) {
    Severity: Major
    Found in src/notification/notification.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status