Condition Coverage

blib/lib/Number/Denominal.pm
Criterion Covered Total %
condition 18 20 90.0


and 3 conditions

line !l l&&!r l&&r condition
45 21744 39357 10279 @bits and $$args{'precision'}
61101 14 10265 @bits and $$args{'precision'} and ++$step > $$args{'precision'}
140 32 20271 1 @$den == 1 and ref $$den[0] eq 'ARRAY'
32 0 20271 @$den == 1 and ref $$den[0] eq 'SCALAR'
167 1 0 10270 $p and $p =~ /\A\d+\z/

or 2 conditions

line l !l condition
131 81151 20303 $den[$_ + 1] || 1

or 3 conditions

line l !l&&r !l&&!r condition
67 8316 540 8367 $_ == 0 or $bits[$_ - 1]{'num'} * $bits[$_ - 1]{'divisor'} < $bits[$_ - 2]{'divisor'}