Reactive-Extensions/RxJS

View on GitHub
modules/rx-lite-experimental-compat/rx.lite.experimental.compat.js

Summary

Maintainability
F
1 mo
Test Coverage

Showing 8 of 8 total issues

File rx.lite.experimental.compat.js has 424 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: Minor
Found in modules/rx-lite-experimental-compat/rx.lite.experimental.compat.js - About 6 hrs to fix

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

    var ExpandObservable = (function(__super__) {
    inherits(ExpandObservable, __super__);
    function ExpandObservable(source, fn, scheduler) {
    this.source = source;
    this._fn = fn;
    Severity: Minor
    Found in modules/rx-lite-experimental-compat/rx.lite.experimental.compat.js - About 1 hr to fix

      Function ForkJoinObserver has 37 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      var ForkJoinObserver = (function(__super__) {
      inherits(ForkJoinObserver, __super__);
      function ForkJoinObserver(o, s, i, cb, subs) {
      this._o = o;
      this._s = s;
      Severity: Minor
      Found in modules/rx-lite-experimental-compat/rx.lite.experimental.compat.js - About 1 hr to fix

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

        var SwitchFirstObserver = (function(__super__) {
        inherits(SwitchFirstObserver, __super__);
        function SwitchFirstObserver(state) {
        this._s = state;
        __super__.call(this);
        Severity: Minor
        Found in modules/rx-lite-experimental-compat/rx.lite.experimental.compat.js - About 1 hr to fix

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

          var ChainObservable = (function (__super__) {
          inherits(ChainObservable, __super__);
          function ChainObservable(head) {
          __super__.call(this);
          this.head = head;
          Severity: Minor
          Found in modules/rx-lite-experimental-compat/rx.lite.experimental.compat.js - About 1 hr to fix

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

            var ForkJoinObservable = (function (__super__) {
            inherits(ForkJoinObservable, __super__);
            function ForkJoinObservable(sources, cb) {
            this._sources = sources;
            this._cb = cb;
            Severity: Minor
            Found in modules/rx-lite-experimental-compat/rx.lite.experimental.compat.js - About 1 hr to fix

              Function ForkJoinObserver has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

              function ForkJoinObserver(o, s, i, cb, subs) {
              Severity: Minor
              Found in modules/rx-lite-experimental-compat/rx.lite.experimental.compat.js - About 35 mins to fix

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

                ;(function (factory) {
                var objectTypes = {
                'function': true,
                'object': true
                };
                modules/rx-lite-experimental/rx.lite.experimental.js on lines 3..590
                Category
                Status