Rating | Name | Duplication | Size | Complexity |
---|---|---|---|---|
B | Validator.validate | 0 | 23 | 8 |
B | Mask.validate | 0 | 16 | 7 |
B | Mask.parse | 0 | 31 | 6 |
A | Validator.parse | 0 | 16 | 5 |
A | src/utils.js ➔ setProp | 0 | 10 | 5 |
A | Cottus.constructor | 0 | 3 | 1 |
A | tests/init.js ➔ isPathInside | 0 | 7 | 1 |
A | CottusFormatError.constructor | 0 | 4 | 1 |
A | Cottus.addRules | 0 | 3 | 3 |
A | Validator._sendNestedErrors | 0 | 4 | 2 |
A | src/utils.js ➔ isASCII | 0 | 3 | 1 |
A | Test.setTmpFolder | 0 | 2 | 1 |
A | Cottus.addRule | 0 | 2 | 1 |
A | Validator._nestedHierarhy | 0 | 4 | 2 |
A | Test.cleanTmpFolder | 0 | 2 | 1 |