cyclejs/cycle-core

View on GitHub
time/src/assert-equal.ts

Summary

Maintainability
B
6 hrs
Test Coverage

Function checkEqual has 108 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function checkEqual(
  completeStore: any,
  assert: any,
  interval: number,
  comparator: any
Severity: Major
Found in time/src/assert-equal.ts - About 4 hrs to fix

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

    function makeAssertEqual(
      timeSource: any,
      schedule: any,
      currentTime: () => number,
      interval: number,
    Severity: Minor
    Found in time/src/assert-equal.ts - About 1 hr to fix

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

        timeSource: any,
        schedule: any,
        currentTime: () => number,
        interval: number,
        addAssert: any
      Severity: Minor
      Found in time/src/assert-equal.ts - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status