Reactive-Extensions/RxJS

View on GitHub
modules/rx-lite-aggregates/rx.lite.aggregates.js

Summary

Maintainability
F
2 mos
Test Coverage

Showing 12 of 12 total issues

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

// Copyright (c) Microsoft, All rights reserved. See License.txt in the project root for license information.
 
;(function (factory) {
var objectTypes = {
'function': true,
Severity: Major
Found in modules/rx-lite-aggregates/rx.lite.aggregates.js - About 2 days to fix

    Function sequenceEqual has 62 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    observableProto.sequenceEqual = function (second, comparer) {
    var first = this;
    comparer || (comparer = defaultComparer);
    return new AnonymousObservable(function (o) {
    var donel = false, doner = false, ql = [], qr = [];
    Severity: Major
    Found in modules/rx-lite-aggregates/rx.lite.aggregates.js - About 2 hrs to fix

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

      var SingleObserver = (function(__super__) {
      inherits(SingleObserver, __super__);
      function SingleObserver(o, obj, s) {
      this._o = o;
      this._obj = obj;
      Severity: Minor
      Found in modules/rx-lite-aggregates/rx.lite.aggregates.js - About 1 hr to fix

        Function LastObserver has 38 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        var LastObserver = (function(__super__) {
        inherits(LastObserver, __super__);
        function LastObserver(o, obj, s) {
        this._o = o;
        this._obj = obj;
        Severity: Minor
        Found in modules/rx-lite-aggregates/rx.lite.aggregates.js - About 1 hr to fix

          Function ExtremaByObserver has 35 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

          var ExtremaByObserver = (function (__super__) {
          inherits(ExtremaByObserver, __super__);
          function ExtremaByObserver(o, k, c) {
          this._o = o;
          this._k = k;
          Severity: Minor
          Found in modules/rx-lite-aggregates/rx.lite.aggregates.js - About 1 hr to fix

            Function ReduceObserver has 34 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

            var ReduceObserver = (function (__super__) {
            inherits(ReduceObserver, __super__);
            function ReduceObserver(o, parent) {
            this._o = o;
            this._p = parent;
            Severity: Minor
            Found in modules/rx-lite-aggregates/rx.lite.aggregates.js - About 1 hr to fix

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

              var FirstObserver = (function(__super__) {
              inherits(FirstObserver, __super__);
              function FirstObserver(o, obj, s) {
              this._o = o;
              this._obj = obj;
              Severity: Minor
              Found in modules/rx-lite-aggregates/rx.lite.aggregates.js - About 1 hr to fix

                Function FindValueObserver has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                var FindValueObserver = (function(__super__) {
                inherits(FindValueObserver, __super__);
                function FindValueObserver(observer, source, callback, yieldIndex) {
                this._o = observer;
                this._s = source;
                Severity: Minor
                Found in modules/rx-lite-aggregates/rx.lite.aggregates.js - About 1 hr to fix

                  Function LastIndexOfObserver has 27 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                  var LastIndexOfObserver = (function (__super__) {
                  inherits(LastIndexOfObserver, __super__);
                  function LastIndexOfObserver(o, e, n) {
                  this._o = o;
                  this._e = e;
                  Severity: Minor
                  Found in modules/rx-lite-aggregates/rx.lite.aggregates.js - About 1 hr to fix

                    Function AverageObserver has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                    var AverageObserver = (function(__super__) {
                    inherits(AverageObserver, __super__);
                    function AverageObserver(o, fn, s) {
                    this._o = o;
                    this._fn = fn;
                    Severity: Minor
                    Found in modules/rx-lite-aggregates/rx.lite.aggregates.js - About 1 hr to fix

                      Function ToMapObserver has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                      Open

                      var ToMapObserver = (function (__super__) {
                      inherits(ToMapObserver, __super__);
                      function ToMapObserver(o, k, e) {
                      this._o = o;
                      this._k = k;
                      Severity: Minor
                      Found in modules/rx-lite-aggregates/rx.lite.aggregates.js - About 1 hr to fix

                        Similar blocks of code found in 2 locations. Consider refactoring.
                        Open

                        ;(function (factory) {
                        var objectTypes = {
                        'function': true,
                        'object': true
                        };
                        Severity: Major
                        Found in modules/rx-lite-aggregates/rx.lite.aggregates.js and 1 other location - About 2 mos to fix
                        modules/rx-lite-aggregates-compat/rx.lite.aggregates.compat.js on lines 3..1365
                        Category
                        Status