cyclejs/cycle-core

View on GitHub
time/src/animation-frames.ts

Summary

Maintainability
A
2 hrs
Test Coverage

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

function makeAnimationFrames(addFrameCallback: any, currentTime: () => number) {
  return function animationFrames(): Stream<Frame> {
    const frame = {
      time: 0,
      delta: 16,
Severity: Minor
Found in time/src/animation-frames.ts - About 1 hr to fix

    Function animationFrames has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      return function animationFrames(): Stream<Frame> {
        const frame = {
          time: 0,
          delta: 16,
          normalizedDelta: 1,
    Severity: Minor
    Found in time/src/animation-frames.ts - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status