heap-data-structure/specification

View on GitHub
src/parts/delete.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function _del has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function _del(_test, length, heapname, makeHeap, diffname, diff, n) {
    const title = `Heap delete (${heapname}, ${diffname}, ${n})`;

    _test(title, (t) => {
        const q = makeHeap(diff);
Severity: Minor
Found in src/parts/delete.js - About 1 hr to fix

    Function _del has 7 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    export function _del(_test, length, heapname, makeHeap, diffname, diff, n) {
    Severity: Major
    Found in src/parts/delete.js - About 50 mins to fix

      There are no issues that match your filters.

      Category
      Status