paambaati/reading-between-the-lines

View on GitHub
src/core/readings.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function get has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  public static get(): ReadingWithUsage[] {
    const endOfCycleReadings: ReadingWithUsage[] = [];
    let readingWithUsage: ReadingWithUsage;
    const originalReadings = Readings.getReadingsFromDB();
    originalReadings.forEach((reading, index) => {
Severity: Minor
Found in src/core/readings.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status