aureooms/js-integer-big-endian

View on GitHub
src/core/arithmetic/gcd/_extended_euclidean_algorithm.js

Summary

Maintainability
A
1 hr
Test Coverage

Function _extended_euclidean_algorithm has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function _extended_euclidean_algorithm(r, a, ai, aj, b, bi, bj) {
    assert(r >= 2);
    assert(ai >= 0 && aj <= a.length);
    assert(bi >= 0 && bj <= b.length);
    assert(aj - ai <= 0 || a[ai] !== 0);
Severity: Minor
Found in src/core/arithmetic/gcd/_extended_euclidean_algorithm.js - About 1 hr to fix

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

    export default function _extended_euclidean_algorithm(r, a, ai, aj, b, bi, bj) {
    Severity: Major
    Found in src/core/arithmetic/gcd/_extended_euclidean_algorithm.js - About 50 mins to fix

      There are no issues that match your filters.

      Category
      Status