Condition Coverage

blib/lib/Fetch/Image.pm
Criterion Covered Total %
condition 6 15 40.0


and 3 conditions

line !l l&&!r l&&r condition
96 0 1 1 $head->header('content-length') and $head->header('content-length') > $$self{'config'}{'max_filesize'}

or 3 conditions

line l !l&&r !l&&!r condition
18 0 2 0 ref $invocant || $invocant
61 1 0 0 $self->_save($ua, $url) || 'Exception::Simple'->throw('generic error')
111 2 0 0 $ua->get($url) || 'Exception::Simple'->throw('download Failed')
114 2 0 0 'File::Temp'->new || 'Exception::Simple'->throw('temp file save failed')