Condition Coverage

blib/lib/Patro/Archy.pm
Criterion Covered Total %
condition 52 114 45.6


and 2 conditions

line l !l condition
897 11 0 $@ &&= 'Not an ARRAY reference'
901 10 0 $@ &&= 'Not a HASH reference'
905 0 0 $@ &&= 'Not a CODE reference'
909 2 0 $@ &&= 'Not a SCALAR reference'

and 3 conditions

line !l l&&!r l&&r condition
59 68 0 0 $threads_avail && 'threads'->tid
102 0 0 21 $ref ne 'CODE' and $ref ne 'CODE*'
0 0 21 $ref ne 'CODE' and $ref ne 'CODE*' and $ref ne 'GLOB'
202 12 0 13 $ops{'<'} and $ops{'neg'}
251 3 0 0 not defined $file || ref $self and $self ne 'Patro::Config'
347 72 0 27 (my $pid = waitpid(-1, 1)) > 0 and WIFEXITED($?)
480 3 498 67 @r and ref $r[0] eq '.Patroclus'
503 485 16 431 $j < @$args and not $Patro::Archy::SIDES->{'no_out'}
516 23 15 448 $ctx == 1 and defined $r[0]
745 2 0 0 $command eq 'READ?' and fileno $fh >= 0
973 0 0 38 @_ > 0 and ref $_[-1] eq '.Patroclus'

or 2 conditions

line l !l condition
29 68 0 ($ENV{'HOSTNAME'} // `hostname`) // 'localhost'
280 97 0 $OPTS{'fincheck_freq'} || 5
376 72 0 $OPTS{'fincheck_freq'} || 5
455 0 568 $DEBUG || $request->{'_debug'} || 0
721 0 0 $args->[1] // undef
0 0 $args->[2] // undef
747 1 0 $off || 0
751 2 0 $off || 0

or 3 conditions

line l !l&&r !l&&!r condition
29 68 0 0 $ENV{'HOSTNAME'} // `hostname`
187 13 0 12 $ops{'0+'} or $ops{'""'}
0 12 0 $ops{'0+'} or $ops{'""'} or $ops{'bool'}
251 3 0 0 defined $file || ref $self
286 0 0 0 $!{'ECHILD'} or $! == 10
598 0 0 30 $cmd eq 'STORESIZE' or $cmd eq 'EXTEND'
621 0 2 14 not defined $len or $len eq 'undef'
704 2 0 57 $command eq 'READ' or $command eq 'READ?'
2 1 56 $command eq 'READ' or $command eq 'READ?' or $command eq 'SYSREAD'
745 1 0 2 $command eq 'SYSREAD' or $command eq 'READ?' and fileno $fh >= 0
921 0 0 13 $op eq '!' or $op eq '~'
0 0 13 $op eq '!' or $op eq '~' or $op eq '++'
0 0 13 $op eq '!' or $op eq '~' or $op eq '++' or $op eq '--'
0 0 13 $op eq 'cos' or $op eq 'sin'
0 0 13 $op eq 'cos' or $op eq 'sin' or $op eq 'exp'
0 0 13 $op eq 'cos' or $op eq 'sin' or $op eq 'exp' or $op eq 'abs'
0 0 13 $op eq 'cos' or $op eq 'sin' or $op eq 'exp' or $op eq 'abs' or $op eq 'int'
0 0 13 $op eq 'cos' or $op eq 'sin' or $op eq 'exp' or $op eq 'abs' or $op eq 'int' or $op eq 'sqrt'
0 0 13 $op eq 'cos' or $op eq 'sin' or $op eq 'exp' or $op eq 'abs' or $op eq 'int' or $op eq 'sqrt' or $op eq 'log'