| blib/lib/Data/Formula.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 21 | 24 | 87.5 |
| line | true | false | branch |
|---|---|---|---|
| 59 | 18 | 18 | if ($operators{$token}) { } |
| 87 | 10 | 4 | if (@$ops) |
| 90 | 9 | 5 | if ($$prev_op{'prio'} >= $prio) { } |
| 140 | 15 | 3 | if length $variable |
| 144 | 3 | 1 | if (length $formula) |
| 149 | 1 | 35 | $_ =~ /^[0-9]+$/ ? : |
| 160 | 0 | 7 | unless @$rpn > 1 |
| 172 | 0 | 5 | unless @$rpn > 1 |
| 184 | 0 | 2 | unless @$rpn > 1 |
| 197 | 2 | 2 | if (@{$self->variables;} == 0) |
| 204 | 14 | 18 | if (ref $token eq 'HASH') { } |
| 209 | 17 | 1 | if (exists $variables{$token}) { } |