Condition Coverage

blib/lib/File/AptFetch.pm
Criterion Covered Total %
condition 27 37 72.9


and 3 conditions

line !l l&&!r l&&r condition
465 35 5 116 $tag eq 'read' and $code
621 31 0 10 @{$self->{'log'};} and grep(($_ eq ''), @{$$self{'log'};})
630 6 0 4 ref $_gain_callback eq 'CODE' and not $rv

or 2 conditions

line l !l condition
1075 40 24 &$_read_callback($_) || 0
1159 30 79 $st->{'size'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
405 157 0 0 kill 'File::AptFetch::ConfigData'->config('signal'), $self->{'pid'} or carp("[kill] ($self->{'pid'}): nothing to kill or $!")
406 210 0 0 close $self->{'me'} or carp("[close] (reader): $!")
407 210 0 0 close $self->{'it'} or carp("[close] (writer): $!")
463 146 10 7 ref $code eq 'CODE' or not defined $code
629 0 0 10 $self->_parse_status_code || $self->_parse_message
899 87 131 335 not $name =~ m[^[\w/:.+-]+$] or $name =~ /(?
218 50 285 not $name =~ m[^[\w/:.+-]+$] or $name =~ /(?
181 137 148 not $name =~ m[^[\w/:.+-]+$] or $name =~ /(?