Reactive-Extensions/RxJS

View on GitHub

Showing 1,013 of 2,890 total issues

Function quadtree has 102 lines of code (exceeds 25 allowed). Consider refactoring.
Open

d3.geom.quadtree = function(points, x1, y1, x2, y2) {
var x = d3_geom_pointX, y = d3_geom_pointY, compat;
if (compat = arguments.length) {
x = d3_geom_quadtreeCompatX;
y = d3_geom_quadtreeCompatY;
Severity: Major
Found in examples/assets/d3/d3.js - About 4 hrs to fix

    Function VirtualTimeScheduler has 101 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    var VirtualTimeScheduler = Rx.VirtualTimeScheduler = (function (__super__) {
    inherits(VirtualTimeScheduler, __super__);
     
    /**
    * Creates a new virtual time scheduler with the specified initial clock value and absolute time comparer.
    Severity: Major
    Found in src/core/concurrency/virtualtimescheduler.js - About 4 hrs to fix

      Function VirtualTimeScheduler has 101 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      var VirtualTimeScheduler = Rx.VirtualTimeScheduler = (function (__super__) {
      inherits(VirtualTimeScheduler, __super__);
       
      /**
      * Creates a new virtual time scheduler with the specified initial clock value and absolute time comparer.
      Severity: Major
      Found in modules/rx-lite-virtualtime-compat/rx.lite.virtualtime.compat.js - About 4 hrs to fix

        Function VirtualTimeScheduler has 101 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        var VirtualTimeScheduler = Rx.VirtualTimeScheduler = (function (__super__) {
        inherits(VirtualTimeScheduler, __super__);
         
        /**
        * Creates a new virtual time scheduler with the specified initial clock value and absolute time comparer.
        Severity: Major
        Found in modules/rx-lite-virtualtime/rx.lite.virtualtime.js - About 4 hrs to fix

          Function VirtualTimeScheduler has 101 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          var VirtualTimeScheduler = Rx.VirtualTimeScheduler = (function (__super__) {
          inherits(VirtualTimeScheduler, __super__);
           
          /**
          * Creates a new virtual time scheduler with the specified initial clock value and absolute time comparer.
          Severity: Major
          Found in modules/rx-core-testing/rx.core.testing.js - About 4 hrs to fix

            Function dsv has 100 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            d3.dsv = function(delimiter, mimeType) {
            var reFormat = new RegExp('["' + delimiter + "\n]"), delimiterCode = delimiter.charCodeAt(0);
            function dsv(url, row, callback) {
            if (arguments.length < 3) callback = row, row = null;
            var xhr = d3_xhr(url, mimeType, row == null ? response : typedResponse(row), callback);
            Severity: Major
            Found in examples/assets/d3/d3.js - About 4 hrs to fix

              Function BonsaiVisitor has 100 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              var BonsaiVisitor = (function (_super) {
              __extends(BonsaiVisitor, _super);
              function BonsaiVisitor() {
              _super.apply(this, arguments);
              }
              Severity: Major
              Found in src/core/expressions/compiler.js - About 4 hrs to fix

                Function load has 98 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                QUnit.load = function() {
                runLoggingCallbacks( "begin", QUnit, {} );
                 
                // Initialize the config, saving the execution queue
                var banner, filter, i, label, len, main, ol, toolbar, userAgent, val, urlConfigCheckboxes, moduleFilter,
                Severity: Major
                Found in examples/testing/qunit/qunit.js - About 3 hrs to fix

                  Function baseIsEqualDeep has a Cognitive Complexity of 27 (exceeds 5 allowed). Consider refactoring.
                  Open

                  function baseIsEqualDeep(object, other, equalFunc, isLoose, stackA, stackB) {
                  var objIsArr = isArray(object),
                  othIsArr = isArray(other),
                  objTag = arrayTag,
                  othTag = arrayTag;
                  Severity: Minor
                  Found in src/modular/internal/isequal.js - About 3 hrs to fix

                  Function AsyncSubject has a Cognitive Complexity of 27 (exceeds 5 allowed). Consider refactoring.
                  Open

                  var AsyncSubject = Rx.AsyncSubject = (function (__super__) {
                  inherits(AsyncSubject, __super__);
                   
                  /**
                  * Creates a subject that can only receive one value and that value is cached for all future observations.
                  Severity: Minor
                  Found in src/core/subjects/asyncsubject.js - About 3 hrs to fix

                  Function ReplaySubject has a Cognitive Complexity of 27 (exceeds 5 allowed). Consider refactoring.
                  Open

                  var ReplaySubject = Rx.ReplaySubject = (function (__super__) {
                   
                  var maxSafeInteger = Math.pow(2, 53) - 1;
                   
                  function createRemovableDisposable(subject, observer) {
                  Severity: Minor
                  Found in src/core/subjects/replaysubject.js - About 3 hrs to fix

                  File pacman.js has 325 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  // Originally from https://github.com/eguneys/pacman-unicode/blob/master/app/scripts/pacman.js
                  (function () {
                  'use strict';
                   
                  function PacmanGame(parent, hs) {
                  Severity: Minor
                  Found in examples/pacman-unicode/pacman.js - About 3 hrs to fix

                    Function d3_geo_clipCircle has 94 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    function d3_geo_clipCircle(radius) {
                    var cr = Math.cos(radius), smallRadius = cr > 0, notHemisphere = abs(cr) > ε, interpolate = d3_geo_circleInterpolate(radius, 6 * d3_radians);
                    return d3_geo_clip(visible, clipLine, interpolate, smallRadius ? [ 0, -radius ] : [ -π, radius - π ]);
                    function visible(λ, φ) {
                    return Math.cos(λ) * Math.cos(φ) > cr;
                    Severity: Major
                    Found in examples/assets/d3/d3.js - About 3 hrs to fix

                      Function baseIsEqualDeep has a Cognitive Complexity of 26 (exceeds 5 allowed). Consider refactoring.
                      Open

                      function baseIsEqualDeep(object, other, equalFunc, isLoose, stackA, stackB) {
                      var objIsArr = isArray(object),
                      othIsArr = isArray(other),
                      objTag = arrayTag,
                      othTag = arrayTag;
                      Severity: Minor
                      Found in src/core/internal/isequal.js - About 3 hrs to fix

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

                      var ReplaySubject = Rx.ReplaySubject = (function (__super__) {
                       
                      var maxSafeInteger = Math.pow(2, 53) - 1;
                       
                      function createRemovableDisposable(subject, observer) {
                      Severity: Major
                      Found in src/core/subjects/replaysubject.js - About 3 hrs to fix

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

                        var ReplaySubject = Rx.ReplaySubject = (function (__super__) {
                         
                        var maxSafeInteger = Math.pow(2, 53) - 1;
                         
                        function createRemovableDisposable(subject, observer) {
                        Severity: Major
                        Found in modules/rx-lite/rx.lite.js - About 3 hrs to fix

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

                          var ReplaySubject = Rx.ReplaySubject = (function (__super__) {
                           
                          var maxSafeInteger = Math.pow(2, 53) - 1;
                           
                          function createRemovableDisposable(subject, observer) {
                          Severity: Major
                          Found in modules/rx-lite-compat/rx.lite.compat.js - About 3 hrs to fix

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

                            var ReplaySubject = Rx.ReplaySubject = (function (__super__) {
                             
                            var maxSafeInteger = Math.pow(2, 53) - 1;
                             
                            function createRemovableDisposable(subject, observer) {
                            Severity: Major
                            Found in modules/rx-core-binding/rx.core.binding.js - About 3 hrs to fix

                              Function d3_geo_clip has 90 lines of code (exceeds 25 allowed). Consider refactoring.
                              Open

                              function d3_geo_clip(pointVisible, clipLine, interpolate, clipStart) {
                              return function(rotate, listener) {
                              var line = clipLine(listener), rotatedClipStart = rotate.invert(clipStart[0], clipStart[1]);
                              var clip = {
                              point: point,
                              Severity: Major
                              Found in examples/assets/d3/d3.js - About 3 hrs to fix

                                Function callbacks has 90 lines of code (exceeds 25 allowed). Consider refactoring.
                                Open

                                callbacks = (function () {
                                 
                                // for string, boolean, number and null
                                function useStrictEquality( b, a ) {
                                if ( b instanceof a.constructor || a instanceof b.constructor ) {
                                Severity: Major
                                Found in examples/testing/qunit/qunit.js - About 3 hrs to fix
                                  Severity
                                  Category
                                  Status
                                  Source
                                  Language