myems-admin/js/plugins/fullcalendar/calendar.js

Summary

Maintainability
B
5 hrs
Test Coverage

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

            link: function(scope, elm, attrs, controller) {

                var sources = scope.eventSources,
                    sourcesChanged = false,
                    eventSourcesWatcher = controller.changeWatcher(sources, controller.sourcesFingerprint),
Severity: Major
Found in myems-admin/js/plugins/fullcalendar/calendar.js - About 2 hrs to fix

    Function changeWatcher has 62 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            this.changeWatcher = function(arraySource, tokenFn) {
                var self;
                var getTokens = function() {
                    var array = angular.isFunction(arraySource) ? arraySource() : arraySource;
                    var result = [], token, el;
    Severity: Major
    Found in myems-admin/js/plugins/fullcalendar/calendar.js - About 2 hrs to fix

      There are no issues that match your filters.

      Category
      Status