Condition Coverage

blib/lib/CGI/Simple/Util.pm
Criterion Covered Total %
condition 15 29 51.7


and 3 conditions

line !l l&&!r l&&r condition
48 0 0 25 $attref and ref $attref eq "HASH"
156 1 0 8 /^#(\d+)$/ && $latin
1 0 0 /^#(\d+)$/ && $ebcdic
1 0 0 /^#x([0-9a-f]+)$/i && $latin
1 0 0 /^#x([0-9a-f]+)$/i && $ebcdic

or 2 conditions

line l !l condition
47 25 0 shift() || 0
66 43 0 $format ||= "http"
114 9 0 $mult{$2} || 1
262 45 21 $self->{'charset'} ||= "ISO-8859-1"

or 3 conditions

line l !l&&r !l&&!r condition
107 19 8 21 not $time or lc $time eq "now"
245 0 21 0 ref $class || $class