Cognitive complexity
100 %
Correct
2/2
0 %
Warning
0/2
(threshold : 10)
0 %
Error
0/2
(threshold : 20)
Cyclomatic complexity
100 %
Correct
2/2
0 %
Warning
0/2
(threshold : 5)
0 %
Error
0/2
(threshold : 10)
Subfolders of src/core/models/cpx-factor
Folders | Number of files | Number of methods | Cognitive complexity of methods | Cyclomatic complexity of methods | ||||
---|---|---|---|---|---|---|---|---|
Correct | Warning | Error | Correct | Warning | Error | |||
../ | ||||||||
src/core/models/cpx-factor | 9 | 2 | 2 | 0 | 0 | 2 | 0 | 0 |
Files of src/core/models/cpx-factor
File | Method | Cognitive complexity | Cyclomatic complexity |
---|---|---|---|
cpx-factors.model.ts | totalByFactorCategory | 5.1 | 2 |
cpx-factors.model.ts | add | 2 | 1 |
Methods of src/core/models/cpx-factor folder and its subfolders
(ordered by decreasing cognitive complexity)
File | Method | Cognitive complexity | Cyclomatic complexity |
---|---|---|---|
cpx-factors.model.ts | totalByFactorCategory | 5.1 | 2 |
cpx-factors.model.ts | add | 2 | 1 |