Cognitive complexity
100 %
Correct
8/8
0 %
Warning
0/8
(threshold : 10)
0 %
Error
0/8
(threshold : 20)
Cyclomatic complexity
100 %
Correct
8/8
0 %
Warning
0/8
(threshold : 5)
0 %
Error
0/8
(threshold : 10)
Methods of arrays-mock.ts
elementAccessExpression | Complexity Index | 0.5 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
arrayLiteralExpression | Complexity Index | 0.4 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
aggregateElementAccess | Complexity Index | 1.8 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
aggregateElementAccessX2 | Complexity Index | 3 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
aggregateArrayLiteral | Complexity Index | 0.6 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
nestingElementAccessElementAccess | Complexity Index | 2.3 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
nestingElementAccessElementAccessX2 | Complexity Index | 5.5 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|
nestingTernaryElementAccess | Complexity Index | 3.6 | Cyclomatic complexity | 1 |
---|---|---|---|---|
|