phadej/menrva

View on GitHub

Showing 219 of 363 total issues

File jquery.js has 6160 lines of code (exceeds 250 allowed). Consider refactoring.
Open

/*!
 * jQuery JavaScript Library v2.1.1
 * http://jquery.com/
 *
 * Includes Sizzle.js
Severity: Major
Found in lib/jquery.js - About 2 wks to fix

    Function runInContext has 2277 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      function runInContext(context) {
        // Avoid issues with some ES3 environments that attempt to use values, named
        // after built-in constructors like `Object`, for the creation of literals.
        // ES5 clears this up by stating that literals must use built-in constructors.
        // See http://es5.github.io/#x11.1.5.
    Severity: Major
    Found in lib/lodash.js - About 1 wk to fix

      File rx.lite.js has 3735 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
      
      ;(function (undefined) {
      
        var objectTypes = {
      Severity: Major
      Found in lib/rx.lite.js - About 1 wk to fix

        File Bacon.js has 2817 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        (function() {
          var Bacon, BufferingSource, Bus, CompositeUnsubscribe, ConsumingSource, Desc, Dispatcher, End, Error, Event, EventStream, Exception, Initial, Next, None, Observable, Property, PropertyDispatcher, Some, Source, UpdateBarrier, addPropertyInitValueToStream, assert, assertArray, assertEventStream, assertFunction, assertNoArguments, assertString, cloneArray, compositeUnsubscribe, containsDuplicateDeps, convertArgsToFunction, describe, end, eventIdCounter, findDeps, flatMap_, former, idCounter, initial, isArray, isFieldKey, isFunction, isObservable, latter, liftCallback, makeFunction, makeFunctionArgs, makeFunction_, makeObservable, makeSpawner, next, nop, partiallyApplied, recursionDepth, registerObs, spys, toCombinator, toEvent, toFieldExtractor, toFieldKey, toOption, toSimpleExtractor, withDescription, withMethodCallSupport, _, _ref,
            __slice = [].slice,
            __hasProp = {}.hasOwnProperty,
            __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
        Severity: Major
        Found in lib/Bacon.js - About 1 wk to fix

          File lodash.js has 2517 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          /**
           * @license
           * Lo-Dash 2.4.1 (Custom Build) <http://lodash.com/>
           * Build: `lodash modern -o ./dist/lodash.js`
           * Copyright 2012-2013 The Dojo Foundation <http://dojofoundation.org/>
          Severity: Major
          Found in lib/lodash.js - About 1 wk to fix

            Function Sizzle has 1347 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            (function( window ) {
            
            var i,
                support,
                Expr,
            Severity: Major
            Found in lib/jquery.js - About 6 days to fix

              Function ajax has 240 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                  ajax: function( url, options ) {
              
                      // If url is an object, simulate pre-1.5 signature
                      if ( typeof url === "object" ) {
                          options = url;
              Severity: Major
              Found in lib/jquery.js - About 1 day to fix

                Function setDocument has 216 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                setDocument = Sizzle.setDocument = function( node ) {
                    var hasCompare,
                        doc = node ? node.ownerDocument || node : preferredDoc,
                        parent = doc.defaultView;
                
                
                Severity: Major
                Found in lib/jquery.js - About 1 day to fix

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

                    Bacon.when = function() {
                      var f, i, index, ix, len, needsBarrier, pat, patSources, pats, patterns, resultStream, s, sources, triggerFound, usage, _i, _j, _len, _len1, _ref1;
                      if (arguments.length === 0) {
                        return Bacon.never();
                      }
                  Severity: Major
                  Found in lib/Bacon.js - About 7 hrs to fix

                    Function Scheduler has 132 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                        var Scheduler = Rx.Scheduler = (function () {
                    
                            function Scheduler(now, schedule, scheduleRelative, scheduleAbsolute) {
                                this.now = now;
                                this._schedule = schedule;
                    Severity: Major
                    Found in lib/rx.lite.js - About 5 hrs to fix

                      Function Callbacks has 128 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      jQuery.Callbacks = function( options ) {
                      
                          // Convert options from String-formatted to Object-formatted if needed
                          // (we check in cache first)
                          options = typeof options === "string" ?
                      Severity: Major
                      Found in lib/jquery.js - About 5 hrs to fix

                        Consider simplifying this complex logical expression.
                        Open

                                    if ( event.pageX == null && original.clientX != null ) {
                                        eventDoc = event.target.ownerDocument || document;
                                        doc = eventDoc.documentElement;
                                        body = eventDoc.body;
                        
                        
                        Severity: Critical
                        Found in lib/jquery.js - About 5 hrs to fix

                          Function baseIsEqual has 116 lines of code (exceeds 25 allowed). Consider refactoring.
                          Open

                              function baseIsEqual(a, b, callback, isWhere, stackA, stackB) {
                                // used to indicate that when comparing objects, `a` has at least the properties of `b`
                                if (callback) {
                                  var result = callback(a, b);
                                  if (typeof result != 'undefined') {
                          Severity: Major
                          Found in lib/lodash.js - About 4 hrs to fix

                            Function ReplaySubject has 111 lines of code (exceeds 25 allowed). Consider refactoring.
                            Open

                                var ReplaySubject = Rx.ReplaySubject = (function (_super) {
                            
                                    function RemovableDisposable (subject, observer) {
                                        this.subject = subject;
                                        this.observer = observer;
                            Severity: Major
                            Found in lib/rx.lite.js - About 4 hrs to fix

                              Function ControlledSubject has 105 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                                  var ControlledSubject = Rx.ControlledSubject = (function (_super) {
                              
                                      function subscribe (observer) {
                                          return this.subject.subscribe(observer);
                                      }
                              Severity: Major
                              Found in lib/rx.lite.js - About 4 hrs to fix

                                Function defaultPrefilter has 99 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                function defaultPrefilter( elem, props, opts ) {
                                    /* jshint validthis: true */
                                    var prop, value, toggle, tween, hooks, oldfire, display, checkDisplay,
                                        anim = this,
                                        orig = {},
                                Severity: Major
                                Found in lib/jquery.js - About 3 hrs to fix

                                  Function debounce has 93 lines of code (exceeds 25 allowed). Consider refactoring.
                                  Open

                                      function debounce(func, wait, options) {
                                        var args,
                                            maxTimeoutId,
                                            result,
                                            stamp,
                                  Severity: Major
                                  Found in lib/lodash.js - About 3 hrs to fix

                                    Function deepEquals has 92 lines of code (exceeds 25 allowed). Consider refactoring.
                                    Open

                                      function deepEquals(a, b, stackA, stackB) {
                                        // exit early for identical values
                                        if (a === b) {
                                          // treat `+0` vs. `-0` as not equal
                                          return a !== 0 || (1 / a == 1 / b);
                                    Severity: Major
                                    Found in lib/rx.lite.js - About 3 hrs to fix

                                      Function trigger has 85 lines of code (exceeds 25 allowed). Consider refactoring.
                                      Open

                                          trigger: function( event, data, elem, onlyHandlers ) {
                                      
                                              var i, cur, tmp, bubbleType, ontype, handle, special,
                                                  eventPath = [ elem || document ],
                                                  type = hasOwn.call( event, "type" ) ? event.type : event,
                                      Severity: Major
                                      Found in lib/jquery.js - About 3 hrs to fix

                                        Function Animation has 84 lines of code (exceeds 25 allowed). Consider refactoring.
                                        Open

                                        function Animation( elem, properties, options ) {
                                            var result,
                                                stopped,
                                                index = 0,
                                                length = animationPrefilters.length,
                                        Severity: Major
                                        Found in lib/jquery.js - About 3 hrs to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language