lib/DR/Money.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 24 | 33 | 72.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
125 | 66 | 0 | 20 | ref $value and $value->isa('DR::Money') |
254 | 5 | 0 | 0 | ref $mul and $mul->isa('DR::Money') |
296 | 8 | 0 | 2 | $div == 0 and not $flip |
5 | 2 | 1 | $flip and not $self | |
299 | 5 | 0 | 2 | ref $div and $div->isa('DR::Money') |
406 | 1 | 0 | 1 | ref $av and $av->isa('DR::Money') |
line | l | !l | condition |
---|---|---|---|
135 | 1 | 6 | $1 || '+' |
140 | 12 | 47 | $1 || '+' |
141 | 43 | 16 | $2 || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
145 | 43 | 13 | 3 | $r or $k |
218 | 18 | 0 | 0 | ref $class || $class |
296 | 2 | 0 | 8 | $div == 0 and not $flip or $flip and not $self |