Showing 93 of 93 total issues
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) {
Function convert
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
export default function convert(f, t, a, ai, aj) {
Function _iadd_limb
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
export default function _iadd_limb(r, x, a, ai, aj) {
Function stringify
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
export default function stringify(f, t, a, ai, aj) {
Function _convert_to_smaller_fast
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
export default function _convert_to_smaller_fast(br, z, a, ai, aj, b, bi, bj) {
assert(br >= 2);
assert(ai >= 0 && aj <= a.length);
assert(bi >= 0 && bj <= b.length);
assert(aj - ai >= 0);
- 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_larger_fast
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
export default function _convert_to_larger_fast(ar, z, a, ai, aj, b, bi, bj) {
assert(ar >= 2);
assert(ai >= 0 && aj <= a.length);
assert(bi >= 0 && bj <= b.length);
assert(aj - ai >= 0);
- 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 _sub
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
export default function _sub(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);
- 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_n
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
export default function _cmp_n(a, ai, aj, b, bi) {
assert(ai >= 0 && aj <= a.length);
assert(bi >= 0);
assert(b.length - bi >= aj - ai);
- 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 _idivmod_dc_32
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
export default function _idivmod_dc_32(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);
- 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_half_odd_radix
has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring. Open
export default function _cmp_half_odd_radix(_r, a, ai, aj) {
assert(_r >= 1);
assert(ai >= 0 && aj <= a.length);
for (; ai < aj; ++ai) {
- 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"