Condition Coverage

blib/lib/File/AptFetch/Simple.pm
Criterion Covered Total %
condition 19 47 40.4


and 3 conditions

line !l l&&!r l&&r condition
272 0 0 0 $class->isa("File::AptFetch") and not ref $class
281 0 0 0 $args->{'method'} eq 'file' && !$self->{'force_file'}
291 0 0 0 $args and "HASH" ne ref $args
322 0 0 0 do { not $self->{'trace'}{$fn} } && do { carp("got ($self->{'status'}) for ($fn) without [request]") }
351 1 1 5 $slf->{'trace'}{$fn} and defined $slf->{'message'}{'size'}
373 6 0 39 defined $rec->{'size'} && defined $rec->{'back'}
542 0 1 19 $faf->{'cheat_beat'} and defined $sm->[0]

or 2 conditions

line l !l condition
288 0 0 $args->{'location'} || '.'
357 6 0 $_ || 0
490 20 0 time - $stat{'mark'} || 1
504 11 9 $stat{'inc'} ||= 0
508 0 20 $faf->{'pending'} || 0
509 19 9 $_->{'size'} || 0
530 16 0 $stat{'speeds'}[$ix] || 1

or 3 conditions

line l !l&&r !l&&!r condition
274 0 0 0 not ref $args or "HASH" eq ref $args
297 0 0 0 $args->{'location'} || $self->{'location'}
494 11 8 1 exists $stat{'inc'} || $stat{'activity'}
532 0 0 16 !$stat{'speeds'}[$ix] || $lag > 432000