alerts/js/alert-type-highlight.js

Summary

Maintainability
B
4 hrs
Test Coverage

Function streamAlertTypeHighlight has 58 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var streamAlertTypeHighlight = ( function( $ ) {
    var self = {
        ajaxUrl: '',
        removeAction: '',
        security: '',
Severity: Major
Found in alerts/js/alert-type-highlight.js - About 2 hrs to fix

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

        self.init = function() {
            $( document ).ready(
                function() {
                    /**
                     * Remove highlights on Record list screen.
    Severity: Minor
    Found in alerts/js/alert-type-highlight.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status