cyclejs/cycle-core

View on GitHub
time/src/diagram.ts

Summary

Maintainability
A
3 hrs
Test Coverage

Function makeDiagram has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function makeDiagram(
  schedule: any,
  currentTime: () => number,
  interval: number,
  setMaxTime: any
Severity: Minor
Found in time/src/diagram.ts - About 1 hr to fix

    Function diagram has 39 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      return function diagram(diagramString: string, values = {}): Stream<any> {
        const characters = diagramString.split('');
        const stream = xs.create();
        function valueFor(character: string) {
          if (character in values) {
    Severity: Minor
    Found in time/src/diagram.ts - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status