Rating | Name | Duplication | Size | Complexity | CRAP |
---|---|---|---|---|---|
F | Polyrat.toStandardAlphaFormHTML | 0 | 29 | 23 | 23 |
F | Lexer.lex | 0 | 65 | 18 | 18 |
F | Polyrat.toHTMLFormula | 0 | 19 | 14 | 14 |
F | Polyrat.toCalcFormula | 0 | 19 | 14 | 14 |
D | Polyrat.evaluate | 0 | 13 | 13 | 13 |
D | Polyrat.toGLSLFormula | 0 | 23 | 13 | 13 |
C | src/bigint.ts ➔ primes | 0 | 5 | 9 | 9 |
B | Rat.normalize | 0 | 22 | 7 | 7 |
B | Parser.evaluate | 0 | 11 | 7 | 7 |
B | Symbolizer.generator | 0 | 7 | 6 | 6 |
B | Rat.egyptianFraction | 0 | 24 | 5 | 5 |
B | Rat.babylonianFraction | 0 | 21 | 5 | 5 |
A | Tensor.valueOf | 0 | 3 | 5 | ? |
A | SternBrocotTree.ts ➔ pathToValue | 0 | 19 | 4 | 4 |
A | SternBrocotTree.ts ➔ rationalApproximation | 0 | 18 | 4 | 4 |