Condition Coverage

blib/lib/PDF/Builder/Util.pm
Criterion Covered Total %
condition 6 42 14.2


and 3 conditions

line !l l&&!r l&&r condition
925 0 0 0 $lbInc and $value < $lb
929 0 0 0 not $lbInc and $value <= $lb
944 0 0 0 $ubInc and $value > $ub
948 0 0 0 not $ubInc and $value >= $ub

or 2 conditions

line l !l condition
140 189 2043 shift() || 4
370 0 0 $PDF::Builder::Util::colors{$name} ||= [map({$_ / $mx;} $rr, $gg, $bb)]
665 11376 1733 $PDF::Builder::Util::n2u{$e} || undef

or 3 conditions

line l !l&&r !l&&!r condition
657 508 4 0 $PDF::Builder::Util::u2n{$e} || sprintf('uni%04X', $e)
875 0 0 0 $value =~ /^\.\d+$/ or $value =~ /^\d+\.\d+$/
0 0 0 $value =~ /^\.\d+$/ or $value =~ /^\d+\.\d+$/ or $value =~ /^\d+\.?$/
884 0 0 0 $unit eq '' or $unit eq $defUnit
921 0 0 0 $lb =~ /^-?\.\d+$/ or $lb =~ /^-?\d+\.\d+/
0 0 0 $lb =~ /^-?\.\d+$/ or $lb =~ /^-?\d+\.\d+/ or $lb =~ /^-?\d+\.?$/
940 0 0 0 $ub =~ /^-?\.\d+$/ or $ub =~ /^-?\d+\.\d+/
0 0 0 $ub =~ /^-?\.\d+$/ or $ub =~ /^-?\d+\.\d+/ or $ub =~ /^-?\d+\.?$/