Reactive-Extensions/RxJS

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

Summary

Maintainability
F
1 mo
Test Coverage

Showing 8 of 8 total issues

File rx.lite.coincidence.compat.js has 463 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-coincidence-compat/rx.lite.coincidence.compat.js - About 7 hrs to fix

    Function groupJoin has 74 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    observableProto.groupJoin = function (right, leftDurationSelector, rightDurationSelector, resultSelector) {
    var left = this;
    return new AnonymousObservable(function (o) {
    var group = new CompositeDisposable();
    var r = new RefCountDisposable(group);
    Severity: Major
    Found in modules/rx-lite-coincidence-compat/rx.lite.coincidence.compat.js - About 2 hrs to fix

      Function join has 61 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

      observableProto.join = function (right, leftDurationSelector, rightDurationSelector, resultSelector) {
      var left = this;
      return new AnonymousObservable(function (o) {
      var group = new CompositeDisposable();
      var leftDone = false, rightDone = false;
      Severity: Major
      Found in modules/rx-lite-coincidence-compat/rx.lite.coincidence.compat.js - About 2 hrs to fix

        Function groupByUntil has 59 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

        observableProto.groupByUntil = function (keySelector, elementSelector, durationSelector) {
        var source = this;
        return new AnonymousObservable(function (o) {
        var map = new Map(),
        groupDisposable = new CompositeDisposable(),
        Severity: Major
        Found in modules/rx-lite-coincidence-compat/rx.lite.coincidence.compat.js - About 2 hrs to fix

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

          function observableWindowWithClosingSelector(windowClosingSelector) {
          var source = this;
          return new AnonymousObservable(function (observer) {
          var m = new SerialDisposable(),
          d = new CompositeDisposable(m),
          Severity: Minor
          Found in modules/rx-lite-coincidence-compat/rx.lite.coincidence.compat.js - About 1 hr to fix

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

            var Map = root.Map || (function () {
            function Map() {
            this.size = 0;
            this._values = [];
            this._keys = [];
            Severity: Minor
            Found in modules/rx-lite-coincidence-compat/rx.lite.coincidence.compat.js - About 1 hr to fix

              Function observableWindowWithBoundaries has 29 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

              function observableWindowWithBoundaries(windowBoundaries) {
              var source = this;
              return new AnonymousObservable(function (observer) {
              var win = new Subject(),
              d = new CompositeDisposable(),
              Severity: Minor
              Found in modules/rx-lite-coincidence-compat/rx.lite.coincidence.compat.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
                };
                modules/rx-lite-coincidence/rx.lite.coincidence.js on lines 3..623

                There are no issues that match your filters.

                Category
                Status