Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
23 0 0 0 -d $dir and -r _
0 0 0 -d $dir and -r _ and -x _
42 0 0 0 $$self{'file'} and $$self{'file'}{'tname'}
94 0 0 0 defined $qstring and not $$self{'factory_args'}{'ignore_parameters'}
199 0 0 0 defined $dir and -d $dir
206 0 0 0 ref $v and not ref $v ~~ ['Regexp', 'HASH']

or 2 conditions

line l !l condition
51 0 0 $proto ||= 'http'
142 0 0 $ct ||= 'application/octet-stream'
205 0 0 delete $cfg{$k} // (next)
210 0 0 delete $cfg{$k} // (next)
223 0 0 $cfg{$k} // (next)
233 0 0 $cfg{$k} // (next)

or 3 conditions

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