ericduran/chromeHAR

View on GitHub

Showing 371 of 463 total issues

Function tokenize has 46 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function tokenize( selector, parseOnly ) {
    var matched, match, tokens, type,
        soFar, groups, preFilters,
        cached = tokenCache[ selector + " " ];

Severity: Minor
Found in bower_components/jquery/jquery.js - About 1 hr to fix

    Function $httpBackend has 46 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      function $httpBackend(method, url, data, callback, headers) {
        var xhr = new MockXhr(),
            expectation = expectations[0],
            wasExpected = false;
    
    
    Severity: Minor
    Found in bower_components/angular-mocks/angular-mocks.js - About 1 hr to fix

      Function select has 45 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      function select( selector, context, results, seed ) {
          var i, tokens, token, type, find,
              match = tokenize( selector );
      
          if ( !seed ) {
      Severity: Minor
      Found in bower_components/jquery/jquery.js - About 1 hr to fix

        Function parse has 45 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

                Date.parse = function parse(string) {
                    var match = isoDateExpression.exec(string);
                    if (match) {
                        // parse months, days, hours, minutes, seconds, and milliseconds
                        // provide default values if necessary
        Severity: Minor
        Found in bower_components/es5-shim/es5-shim.js - About 1 hr to fix

          Function dump has 45 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          angular.mock.dump = function(object) {
            return serialize(object);
          
            function serialize(object) {
              var out;
          Severity: Minor
          Found in bower_components/angular-mocks/angular-mocks.js - About 1 hr to fix

            Function bindFn has 44 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

              bind: function bindFn(element, type, fn){
                var events = JQLiteExpandoStore(element, 'events'),
                    handle = JQLiteExpandoStore(element, 'handle');
            
                if (!events) JQLiteExpandoStore(element, 'events', events = {});
            Severity: Minor
            Found in bower_components/angular/angular.js - About 1 hr to fix

              Function classDirective has 44 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              function classDirective(name, selector) {
                name = 'ngClass' + name;
                return ngDirective(function(scope, element, attr) {
                  var oldVal = undefined;
              
              
              Severity: Minor
              Found in bower_components/angular/angular.js - About 1 hr to fix

                Function matcherFromTokens has 44 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                function matcherFromTokens( tokens ) {
                    var checkContext, matcher, j,
                        len = tokens.length,
                        leadingRelative = Expr.relative[ tokens[0].type ],
                        implicitRelative = leadingRelative || Expr.relative[" "],
                Severity: Minor
                Found in bower_components/jquery/jquery.js - About 1 hr to fix

                  Function ngViewDirective has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                                 function($http,   $templateCache,   $route,   $anchorScroll,   $compile,
                                          $controller) {
                    return {
                      restrict: 'ECA',
                      terminal: true,
                  Severity: Minor
                  Found in bower_components/angular/angular.js - About 1 hr to fix

                    Function ParsedURL has 43 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    WebInspector.ParsedURL = function(url)
                    {
                        this.isValid = false;
                        this.url = url;
                        this.scheme = "";
                    Severity: Minor
                    Found in js/libs/devTools.js - About 1 hr to fix

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

                      jQuery.attr = function( elem, name, value, pass ) {
                          var lowerName = name.toLowerCase(),
                              nType = elem && elem.nodeType;
                      
                          if ( pass ) {
                      Severity: Minor
                      Found in bower_components/jquery/jquery-migrate.js - About 1 hr to fix

                        Function readString has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                        Open

                          function readString(quote) {
                            var start = index;
                            index++;
                            var string = "";
                            var rawString = quote;
                        Severity: Minor
                        Found in bower_components/angular/angular.js - About 1 hr to fix

                          Function getterFn has 42 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                          function getterFn(path, csp) {
                            if (getterFnCache.hasOwnProperty(path)) {
                              return getterFnCache[path];
                            }
                          
                          
                          Severity: Minor
                          Found in bower_components/angular/angular.js - About 1 hr to fix

                            Function formDirectiveFactory has 41 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                            var formDirectiveFactory = function(isNgForm) {
                              return ['$timeout', function($timeout) {
                                var formDirective = {
                                  name: 'form',
                                  restrict: 'E',
                            Severity: Minor
                            Found in bower_components/angular/angular.js - About 1 hr to fix

                              Function htmlSanitizeWriter has 41 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              function htmlSanitizeWriter(buf){
                                var ignore = false;
                                var out = angular.bind(buf, buf.push);
                                return {
                                  start: function(tag, attrs, unary){
                              Severity: Minor
                              Found in bower_components/angular-sanitize/angular-sanitize.js - About 1 hr to fix

                                Function addCombinator has 41 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function addCombinator( matcher, combinator, base ) {
                                    var dir = combinator.dir,
                                        checkNonElements = base && dir === "parentNode",
                                        doneName = done++;
                                
                                
                                Severity: Minor
                                Found in bower_components/jquery/jquery.js - About 1 hr to fix

                                  Function module has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      return function module(name, requires, configFn) {
                                        if (requires && modules.hasOwnProperty(name)) {
                                          modules[name] = null;
                                        }
                                        return ensure(modules, name, function() {
                                  Severity: Minor
                                  Found in bower_components/angular/angular.js - About 1 hr to fix

                                    Function createEventHandler has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                    function createEventHandler(element, events) {
                                      var eventHandler = function (event, type) {
                                        if (!event.preventDefault) {
                                          event.preventDefault = function() {
                                            event.returnValue = false; //ie
                                    Severity: Minor
                                    Found in bower_components/angular/angular.js - About 1 hr to fix

                                      Function extend has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                      jQuery.extend = jQuery.fn.extend = function() {
                                          var options, name, src, copy, copyIsArray, clone,
                                              target = arguments[0] || {},
                                              i = 1,
                                              length = arguments.length,
                                      Severity: Minor
                                      Found in bower_components/jquery/jquery.js - About 1 hr to fix

                                        Function on has 40 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                            on: function( types, selector, data, fn, /*INTERNAL*/ one ) {
                                                var origFn, type;
                                        
                                                // Types can be a map of types/handlers
                                                if ( typeof types === "object" ) {
                                        Severity: Minor
                                        Found in bower_components/jquery/jquery.js - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language