Condition Coverage

blib/lib/Net/IMP/HTTP/Example/SaveResponse.pm
Criterion Covered Total %
condition 0 36 0.0


and 3 conditions

line !l l&&!r l&&r condition
24 0 0 0 -d $dir and -r _
0 0 0 -d $dir and -r _ and -x _
43 0 0 0 $$self{'file'} and $$self{'file'}{'tname'}
95 0 0 0 defined $qstring and not $$self{'factory_args'}{'ignore_parameters'}
200 0 0 0 defined $dir and -d $dir
207 0 0 0 ref $v and not ref $v ~~ ['Regexp', 'HASH']

or 2 conditions

line l !l condition
52 0 0 $proto ||= 'http'
143 0 0 $ct ||= 'application/octet-stream'
206 0 0 delete $cfg{$k} // (next)
211 0 0 delete $cfg{$k} // (next)
224 0 0 $cfg{$k} // (next)
234 0 0 $cfg{$k} // (next)

or 3 conditions

line l !l&&r !l&&!r condition
59 0 0 0 "${proto}://${host}:$port$path" =~ /$rx/ or "${proto}://$host$path" =~ /$rx/
63 0 0 0 "${proto}://${host}:$port$path" =~ /$rx/ or "${proto}://$host$path" =~ /$rx/