Condition Coverage

blib/lib/PDF/API2/Util.pm
Criterion Covered Total %
condition 6 9 66.6


or 2 conditions

line l !l condition
124 169 1337 shift() || 4
354 0 0 $PDF::API2::Util::colors{$name} ||= [map({$_ / $mx;} $r, $g, $b)]
619 11597 1768 $PDF::API2::Util::n2u{$e} || undef

or 3 conditions

line l !l&&r !l&&!r condition
611 508 4 0 $PDF::API2::Util::u2n{$e} || sprintf('uni%04X', $e)