Reactive-Extensions/RxJS

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

Summary

Maintainability
F
2 wks
Test Coverage

Showing 5 of 5 total issues

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

    Function JoinObserver has 43 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

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

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

      Observable.when = function () {
      var len = arguments.length, plans;
      if (Array.isArray(arguments[0])) {
      plans = arguments[0];
      } else {
      Severity: Minor
      Found in modules/rx-lite-joinpatterns-compat/rx.lite.joinpatterns.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-joinpatterns-compat/rx.lite.joinpatterns.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-joinpatterns/rx.lite.joinpatterns.js on lines 3..343
          Category
          Status