| blib/lib/Math/Calc/Parser.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| subroutine | 40 | 40 | 100.0 |
| pod | 10 | 10 | 100.0 |
| line | count | pod | subroutine |
|---|---|---|---|
| 2 | 8 | n/a | BEGIN |
| 3 | 8 | n/a | BEGIN |
| 4 | 8 | n/a | BEGIN |
| 5 | 8 | n/a | BEGIN |
| 6 | 8 | n/a | BEGIN |
| 7 | 8 | n/a | BEGIN |
| 8 | 8 | n/a | BEGIN |
| 9 | 8 | n/a | BEGIN |
| 10 | 8 | n/a | BEGIN |
| 18 | 8 | n/a | BEGIN |
| 21 | 8 | n/a | BEGIN |
| 66 | 1542 | n/a | _operator |
| 70 | 153 | n/a | _real |
| 71 | 14 | n/a | _each |
| 74 | 4 | n/a | _round |
| 77 | 25 | n/a | _fact_check |
| 84 | 2 | n/a | _atan_factor |
| 124 | 17 | n/a | _default_functions |
| 129 | 565 | n/a | _instance |
| 132 | 122 | Yes | calc |
| 135 | 18 | Yes | new |
| 143 | 2 | Yes | error |
| 146 | 429 | Yes | bignum |
| 162 | 429 | Yes | bigrat |
| 179 | 1281 | n/a | _functions |
| 182 | 10 | Yes | add_functions |
| 203 | 3 | Yes | remove_functions |
| 222 | 226 | Yes | parse |
| 227 | 2 | n/a | BEGIN |
| 239 | 1 | n/a | BEGIN |
| 285 | 417 | n/a | _shunt_number |
| 291 | 273 | n/a | _shunt_operator |
| 307 | 70 | n/a | _shunt_function_with_args |
| 313 | 30 | n/a | _shunt_function_no_args |
| 319 | 30 | n/a | _shunt_left_paren |
| 325 | 30 | n/a | _shunt_right_paren |
| 340 | 7 | n/a | _shunt_comma |
| 349 | 206 | Yes | evaluate |
| 384 | 8 | n/a | BEGIN |
| 400 | 9 | Yes | try_evaluate |