| blib/lib/Data/Money.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 27 | 40.7 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 212 | 127 | 0 | 0 | exists $param{'code'} and defined $param{'code'} |
| 213 | 127 | 0 | 0 | exists $param{'format'} and defined $param{'format'} |
| 214 | 0 | 0 | 127 | exists $param{'value'} and defined $param{'value'} |
| line | l | !l | condition |
|---|---|---|---|
| 286 | 9 | 0 | shift() || 0 |
| 336 | 0 | 0 | $code || 'undef' |
| 363 | 9 | 0 | $num //= 0 |
| 525 | 72 | 0 | $num //= 0 |
| 563 | 1 | 0 | $code || 'undef' |
| 569 | 357 | 7 | Locale::Currency::Format::decimal_precision($code) || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 330 | 0 | 18 | 0 | shift() || $self->format |
| 557 | 0 | 365 | 0 | $code ||= $self->code |