Condition Coverage

blib/lib/Data/Money.pm
Criterion Covered Total %
condition 11 27 40.7


and 3 conditions

line !l l&&!r l&&r condition
211 125 0 0 exists $param{'code'} and defined $param{'code'}
212 125 0 0 exists $param{'format'} and defined $param{'format'}
213 0 0 125 exists $param{'value'} and defined $param{'value'}

or 2 conditions

line l !l condition
285 9 0 shift() || 0
335 0 0 $code || 'undef'
362 9 0 $num //= 0
524 72 0 $num //= 0
562 1 0 $code || 'undef'
568 372 7 Locale::Currency::Format::decimal_precision($code) || 0

or 3 conditions

line l !l&&r !l&&!r condition
329 0 16 0 shift() || $self->format
556 0 380 0 $code ||= $self->code