Condition Coverage

blib/lib/CGI/Util.pm
Criterion Covered Total %
condition 16 30 53.3


and 3 conditions

line !l l&&!r l&&r condition
106 0 319 303 defined $param[0] and substr($param[0], 0, 1) eq '-'
147 0 0 284 $attr and ref $attr
0 0 284 $attr and ref $attr and ref $attr eq 'HASH'
191 0 395 0 @_ > 0 and ref $_[0] || defined $_[1] && $_[0] eq $CGI::DefaultClass
232 358 12 0 @_ > 1 and ref $_[0] || defined $_[1] && $_[0] eq $CGI::DefaultClass

or 2 conditions

line l !l condition
148 270 14 shift() || 0
249 23 0 $format ||= 'http'
296 9 0 $mult{$2} || 1

or 3 conditions

line l !l&&r !l&&!r condition
191 0 0 395 ref $_[0] || defined $_[1] && $_[0] eq $CGI::DefaultClass
232 12 0 0 ref $_[0] || defined $_[1] && $_[0] eq $CGI::DefaultClass
291 14 3 11 not $time or lc $time eq 'now'