blib/lib/File/AptFetch/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 42 | 47 | 89.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
272 | 0 | 97 | 65 | $class->isa('File::AptFetch') and not ref $class |
280 | 35 | 11 | 7 | $$args{'method'} eq 'file' && !$$self{'force_file'} |
291 | 7 | 70 | 20 | $args and 'HASH' ne ref $args |
351 | 1 | 2 | 192 | $$slf{'trace'}{$fn} and defined $$slf{'message'}{'size'} |
372 | 6 | 0 | 39 | defined $$rec{'size'} && defined $$rec{'back'} |
494 | 11 | 0 | 8 | not $stat{'inc'} and $stat{'activity'} |
541 | 257 | 1 | 19 | $$faf{'cheat_beat'} and defined $$sm[0] |
line | l | !l | condition |
---|---|---|---|
288 | 12 | 21 | $$args{'location'} || '.' |
357 | 193 | 49 | $_ || 0 |
490 | 171 | 106 | time - $stat{'mark'} || 1 |
504 | 11 | 266 | $stat{'inc'} ||= 0 |
508 | 76 | 201 | $$faf{'pending'} || 0 |
509 | 19 | 137 | $$_{'size'} || 0 |
530 | 16 | 192 | $stat{'speeds'}[$ix] || 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
274 | 21 | 35 | 3 | not ref $args or 'HASH' eq ref $args |
297 | 40 | 90 | 0 | $$args{'location'} || $$self{'location'} |
494 | 11 | 8 | 258 | exists $stat{'inc'} || $stat{'activity'} |
531 | 192 | 0 | 16 | !$stat{'speeds'}[$ix] || $lag > 432000 |