aureooms/js-integer-big-endian

View on GitHub
src/core/arithmetic/mul/_karatsuba.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function _karatsuba has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function _karatsuba(r, a, ai, aj, b, bi, bj, c, ci, cj) {
    assert(r >= 2);
    assert(ai >= 0 && aj <= a.length);
    assert(bi >= 0 && bj <= b.length);
    assert(ci >= 0 && cj <= c.length);
Severity: Minor
Found in src/core/arithmetic/mul/_karatsuba.js - About 1 hr to fix

    Function _karatsuba has 10 arguments (exceeds 4 allowed). Consider refactoring.
    Open

    export default function _karatsuba(r, a, ai, aj, b, bi, bj, c, ci, cj) {
    Severity: Major
    Found in src/core/arithmetic/mul/_karatsuba.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status