Reactive-Extensions/RxJS

View on GitHub
src/core/concurrency/virtualtimescheduler.js

Summary

Maintainability
F
1 wk
Test Coverage

Showing 3 of 3 total issues

Function VirtualTimeScheduler has a Cognitive Complexity of 40 (exceeds 5 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: Minor
Found in src/core/concurrency/virtualtimescheduler.js - About 6 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

    Similar blocks of code found in 2 locations. 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 and 1 other location - About 1 wk to fix
    modules/rx-core-testing/rx.core.testing.js on lines 531..723

    There are no issues that match your filters.

    Category
    Status