buttercup-pw/buttercup-core

View on GitHub
source/io/formatA/merge.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

export function smartStripRemovedAssets(history: History): History {
    const deletedEntries: Set<string> = new Set([]);
    const deletedGroups: Set<string> = new Set([]);
    return history.filter((line) => {
        const [command, ...args] = line.split(/\s/g);
Severity: Minor
Found in source/io/formatA/merge.ts - About 1 hr to fix

    Avoid too many return statements within this function.
    Open

            return true;
    Severity: Major
    Found in source/io/formatA/merge.ts - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status