Showing 16 of 30 total issues
Function _merge
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function _merge(
_test,
length,
heapname,
makeHeap,
Function _update
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function _update(_test, length, heapname, makeHeap, diffname, diff, n) {
const title = `Heap update (${heapname}, ${diffname}, ${n})`;
_test(title, (t) => {
const q = makeHeap(diff);
Function _decreasekey
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function _decreasekey(
_test,
length,
heapname,
makeHeap,
Function _increasekey
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function _increasekey(
_test,
length,
heapname,
makeHeap,
Function _pushreference
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function _pushreference(
_test,
length,
heapname,
makeHeap,
Function _del
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
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);
Function _merge
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_test,
length,
heapname,
makeHeap,
diffname,
Function _del
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export function _del(_test, length, heapname, makeHeap, diffname, diff, n) {
Function _head
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export function _head(_test, length, heapname, makeHeap, diffname, diff, n) {
Function _headreference
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_test,
length,
heapname,
makeHeap,
diffname,
Function _pushreference
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_test,
length,
heapname,
makeHeap,
diffname,
Function _update
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export function _update(_test, length, heapname, makeHeap, diffname, diff, n) {
Function _popreference
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_test,
length,
heapname,
makeHeap,
diffname,
Function _increasekey
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_test,
length,
heapname,
makeHeap,
diffname,
Function _pushpop
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export function _pushpop(_test, length, heapname, makeHeap, diffname, diff, n) {
Function _decreasekey
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
_test,
length,
heapname,
makeHeap,
diffname,