ericduran/chromeHAR

View on GitHub

Showing 463 of 463 total issues

Function cookies has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  self.cookies = function(name, value) {
    var cookieLength, cookieArray, cookie, i, index;

    if (name) {
      if (value === undefined) {
Severity: Minor
Found in bower_components/angular/angular.js - About 1 hr to fix

    Function HAREntry has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      function HAREntry(entry, id, start_time, data) {
        this._entry = entry;
        this._id = id;
    
        // Response
    Severity: Minor
    Found in js/libs/HAREntry.js - About 1 hr to fix

      Function compile has 31 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

            compile: function() {
              return {
                pre: function(scope, formElement, attr, controller) {
                  if (!attr.action) {
                    // we can't use jq events because if a form is destroyed during submission the default
      Severity: Minor
      Found in bower_components/angular/angular.js - About 1 hr to fix

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

               function($rootScope,   $browser,   $q,   $exceptionHandler) {
            var deferreds = {};
        
        
             /**
        Severity: Minor
        Found in bower_components/angular/angular.js - About 1 hr to fix

          Function url has 31 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

                url: function(params) {
                  var self = this,
                      url = this.template,
                      val,
                      encodedVal;
          Severity: Minor
          Found in bower_components/angular-resource/angular-resource.js - About 1 hr to fix

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

            function LocationHashbangUrl(url, hashPrefix, appBaseUrl) {
              var basePath;
            
              /**
               * Parse given hashbang url into properties
            Severity: Minor
            Found in bower_components/angular/angular.js - About 1 hr to fix

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

                var when = function(value, callback, errback) {
                  var result = defer(),
                      done;
              
                  var wrappedCallback = function(value) {
              Severity: Minor
              Found in bower_components/angular/angular.js - About 1 hr to fix

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

                    handlers: function( event, handlers ) {
                        var i, matches, sel, handleObj,
                            handlerQueue = [],
                            delegateCount = handlers.delegateCount,
                            cur = event.target;
                Severity: Minor
                Found in bower_components/jquery/jquery.js - About 1 hr to fix

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

                      attr: function( elem, name, value ) {
                          var hooks, ret,
                              nType = elem.nodeType;
                  
                          // don't get/set attributes on text, comment and attribute nodes
                  Severity: Minor
                  Found in bower_components/jquery/jquery.js - About 1 hr to fix

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

                      this.$get = function () {
                        var $log = {
                          log: function() { $log.log.logs.push(concat([], arguments, 0)); },
                          warn: function() { $log.warn.logs.push(concat([], arguments, 0)); },
                          info: function() { $log.info.logs.push(concat([], arguments, 0)); },
                    Severity: Minor
                    Found in bower_components/angular-mocks/angular-mocks.js - About 1 hr to fix

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

                        var parseHash = ui.parseHash = function parseHash() {
                          var hashes = location.hash.slice(1).split('&'),
                              parameters = this.parameters || (this.parameters = {});
                      
                          // Clear original parameters.
                      Severity: Minor
                      Found in bower_components/json3/benchmark/assets/ui.js - About 1 hr to fix

                        Function bootstrap has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                        function bootstrap(element, modules) {
                          var doBootstrap = function() {
                            element = jqLite(element);
                            modules = modules || [];
                            modules.unshift(['$provide', function($provide) {
                        Severity: Minor
                        Found in bower_components/angular/angular.js - About 1 hr to fix

                          Function compile has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              compile: function(element, attr) {
                                if (isUndefined(attr.value)) {
                                  var interpolateFn = $interpolate(element.text(), true);
                                  if (!interpolateFn) {
                                    attr.$set('value', element.text());
                          Severity: Minor
                          Found in bower_components/angular/angular.js - About 1 hr to fix

                            Function JQLitePatchJQueryRemove has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            function JQLitePatchJQueryRemove(name, dispatchThis, filterElems, getterIfNoArguments) {
                              var originalJqFn = jQuery.fn[name];
                              originalJqFn = originalJqFn.$original || originalJqFn;
                              removePatch.$original = originalJqFn;
                              jQuery.fn[name] = removePatch;
                            Severity: Minor
                            Found in bower_components/angular/angular.js - About 1 hr to fix

                              Function invoke has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  function invoke(fn, self, locals){
                                    var args = [],
                                        $inject = annotate(fn),
                                        length, i,
                                        key;
                              Severity: Minor
                              Found in bower_components/angular/angular.js - About 1 hr to fix

                                Function ngPluralizeDirective has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                var ngPluralizeDirective = ['$locale', '$interpolate', function($locale, $interpolate) {
                                  var BRACE = /{}/g;
                                  return {
                                    restrict: 'EA',
                                    link: function(scope, element, attr) {
                                Severity: Minor
                                Found in bower_components/angular/angular.js - About 1 hr to fix

                                  Function addClass has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      addClass: function( value ) {
                                          var classes, elem, cur, clazz, j,
                                              i = 0,
                                              len = this.length,
                                              proceed = typeof value === "string" && value;
                                  Severity: Minor
                                  Found in bower_components/jquery/jquery.js - About 1 hr to fix

                                    Function removeClass has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                        removeClass: function( value ) {
                                            var classes, elem, cur, clazz, j,
                                                i = 0,
                                                len = this.length,
                                                proceed = arguments.length === 0 || typeof value === "string" && value;
                                    Severity: Minor
                                    Found in bower_components/jquery/jquery.js - About 1 hr to fix

                                      Function toggleClass has 29 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          toggleClass: function( value, stateVal ) {
                                              var type = typeof value;
                                      
                                              if ( typeof stateVal === "boolean" && type === "string" ) {
                                                  return stateVal ? this.addClass( value ) : this.removeClass( value );
                                      Severity: Minor
                                      Found in bower_components/jquery/jquery.js - About 1 hr to fix

                                        Function $get has 9 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            function($injector,   $interpolate,   $exceptionHandler,   $http,   $templateCache,   $parse,
                                                     $controller,   $rootScope,   $document) {
                                        Severity: Major
                                        Found in bower_components/angular/angular.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language