Showing 89 of 93 total issues
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) {
Function iadd
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
export default function iadd(r, a, ai, aj, b, bi, bj) {
Function _imod_schoolbook_large_divisor
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
r,
a,
ai,
aj,
b,
Function _iadd
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
export default function _iadd(r, a, ai, aj, b, bi, bj) {
Function _idivmod_limb
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
export default function _idivmod_limb(r, d, D, Di, Dj, Q, Qi) {
Function euclidean_algorithm
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
export default function euclidean_algorithm(r, a, ai, aj, b, bi, bj) {
Function _imod_schoolbook_subroutine
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
export default function _imod_schoolbook_subroutine(r, a, ai, aj, b, bi, bj) {
Function _euclidean_algorithm_loop
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
export default function _euclidean_algorithm_loop(r, a, ai, aj, b, bi, bj) {
Function cmp
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
export default function cmp(a, ai, aj, b, bi, bj) {
Function _pow_double_recursive
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
export default function _pow_double_recursive(r, x, a, ai, aj, c, ci, cj) {
assert(r >= 2);
assert(x >= 0);
assert(ai >= 0 && aj <= a.length);
assert(ci >= 0 && cj <= c.length);
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function _isub
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
export default function _isub(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 >= bj - bi);
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function _cmp
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
export default function _cmp(a, ai, aj, b, bi, bj) {
Function _iadd
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
export default function _iadd(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 >= bj - bi);
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function _euclidean_algorithm_loop
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
export default function _euclidean_algorithm_loop(r, a, ai, aj, b, bi, bj) {
assert(r >= 2);
assert(ai >= 0 && aj <= a.length);
assert(bi >= 0 && bj <= b.length);
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function _convert_to_smaller_slow
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
export default function _convert_to_smaller_slow(f, t, a, ai, aj, b, bi, bj) {
assert(f >= t);
assert(ai >= 0 && aj <= a.length);
assert(bi >= 0 && bj <= b.length);
assert(aj - ai >= 1);
- Read upRead up
Cognitive Complexity
Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.
A method's cognitive complexity is based on a few simple rules:
- Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
- Code is considered more complex for each "break in the linear flow of the code"
- Code is considered more complex when "flow breaking structures are nested"
Further reading
Function _copy
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
export default function _copy(a, ai, aj, b, bi) {
Function _cmp_n
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
export default function _cmp_n(a, ai, aj, b, bi) {
Function _mod_limb
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
export default function _mod_limb(r, d, D, Di, Dj) {
Function _imod_limb
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
export default function _imod_limb(r, d, D, Di, Dj) {
Function convert_keep_zeros
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
export default function convert_keep_zeros(f, t, a, ai, aj) {