Showing 11 of 11 total issues
Function mul
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
const mul = function ( p , pi , pj , q , qi , qj , r , ri , rj ) {
Function bdiv
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
const bdiv = function ( b , bi , bj , q , qi , qj , r , ri , rj ) {
Function badd
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
const badd = function ( p , pi , pj , q , qi , qj , r , ri , rj ) {
Function ladd
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
const ladd = function ( p , pi , pj , q , qi , qj , r , ri , rj ) {
Function __evaluate__
has a Cognitive Complexity of 9 (exceeds 5 allowed). Consider refactoring. Open
Open
export function __evaluate__ ( mov , imov , iadd , mul , imul ) {
/**
* Evaluates little endian polynomial [i , j[ for x.
*
- 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 iladd
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
const iladd = function ( p , pi , pj , q , qi , qj ) {
Function _bdiv
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
Open
export function _bdiv ( iszero , iadd , isubmul , izero ) {
/**
* Big endian dense polynomial division.
*
- 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 ibadd
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
var ibadd = function ( p , pi , pj , q , qi , qj ) {
Function horner
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
var horner = function ( p , i , j , x , y ) {
Function __evaluate__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export function __evaluate__ ( mov , imov , iadd , mul , imul ) {
Function evaluate
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
var evaluate = function ( p , i , j , x , y ) {