angular/angular.js

View on GitHub
src/ng/jsonpCallbacks.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function $jsonpCallbacksProvider has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

var $jsonpCallbacksProvider = /** @this */ function() {
  this.$get = function() {
    var callbacks = angular.callbacks;
    var callbackMap = {};

Severity: Minor
Found in src/ng/jsonpCallbacks.js - About 1 hr to fix

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

      this.$get = function() {
        var callbacks = angular.callbacks;
        var callbackMap = {};
    
        function createCallback(callbackId) {
    Severity: Minor
    Found in src/ng/jsonpCallbacks.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status