| blib/lib/Data/Money.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 11 | 24 | 45.8 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 211 | 97 | 0 | 0 | exists $param{'code'} and defined $param{'code'} |
| 212 | 97 | 0 | 0 | exists $param{'format'} and defined $param{'format'} |
| line | l | !l | condition |
|---|---|---|---|
| 284 | 6 | 0 | shift() || 0 |
| 334 | 0 | 0 | $code || 'undef' |
| 361 | 5 | 0 | shift() || 0 |
| 521 | 57 | 1 | shift() || 0 |
| 555 | 1 | 0 | $code || 'undef' |
| 561 | 333 | 7 | Locale::Currency::Format::decimal_precision($code) || 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 328 | 0 | 16 | 0 | shift() || $self->format |
| 549 | 0 | 341 | 0 | $code ||= $self->code |