Branch Coverage

blib/lib/IPC/LDT.pm
Criterion Covered Total %
branch 15 128 11.7


line true false branch
147 4484 4 if ($status = filter_read()) > 0
191 4484 4 if (($status = filter_read()) > 0)
193 0 4484 if ($noAssert) { }
223 0 4 defined ${join '::', 'IPC::LDT', 'Trace';} ? :
224 4 0 unless ${join '::', 'IPC::LDT', 'Trace';}
227 0 4 defined ${join '::', 'IPC::LDT', 'noAssert';} ? :
477 0 4 unless @_ % 2
481 0 4 unless $class
482 0 4 if ref $class
483 0 4 unless exists $switches{'handle'} and $switches{'handle'}
495 4 0 if (defined $switches{'handle'}->fileno) { }
501 0 0 exists $switches{'objectMode'} && $switches{'objectMode'} ? :
502 0 0 exists $switches{'startblockLength'} && $switches{'startblockLength'} > 0 ? :
503 0 0 exists $switches{'trace'} && $switches{'trace'} ? :
525 0 4 unless $me
526 0 4 unless ref $me eq 'IPC::LDT'
568 0 0 unless $me
569 0 0 unless ref $me eq 'IPC::LDT'
611 0 0 unless $me
612 0 0 unless ref $me eq 'IPC::LDT'
692 0 0 unless $me
693 0 0 unless ref $me eq 'IPC::LDT'
694 0 0 unless $filter
695 0 0 unless ref $filter and ref $filter eq 'CODE'
702 0 0 unless defined $$me{'delayQueue'} and @{$$me{'delayQueue'};}
767 0 0 unless $me
768 0 0 unless ref $me eq 'IPC::LDT'
771 0 0 if (defined $$me{'delayFilter'}) { }
864 0 0 unless $me
865 0 0 unless ref $me eq 'IPC::LDT'
866 0 0 unless @msg
872 0 0 if ($$me{'rc'} and $$me{'rc'} != 100) { }
0 0 elsif (not defined $$me{'handle'}->fileno) { }
0 0 elsif (defined $$me{'delayFilter'} and &{$$me{'delayFilter'};}(\@msg)) { }
907 0 0 if $$me{'objectMode'}
968 0 0 unless $me
969 0 0 unless ref $me eq 'IPC::LDT'
975 0 0 unless $$me{'rc'} == -1
1045 0 0 unless $me
1046 0 0 unless ref $me eq 'IPC::LDT'
1052 0 0 if ($$me{'rc'} and $$me{'rc'} != 100) { }
0 0 elsif (not defined $$me{'handle'}->fileno) { }
1090 0 0 if (not $rc) { }
1098 0 0 if $buffer and $$me{'objectMode'}
1101 0 0 $$me{'objectMode'} ? :
1118 0 0 unless $me
1119 0 0 unless ref $me eq 'IPC::LDT'
1120 0 0 unless $targetBufferRef
1121 0 0 unless ref $targetBufferRef eq 'SCALAR'
1124 0 0 unless defined $targetLength
1134 0 0 if (defined $readBytes) { }
1137 0 0 unless ($readBytes)
1155 0 0 if ($! == 11 and ++$trials < 100) { }
1197 0 0 unless $me
1198 0 0 unless ref $me eq 'IPC::LDT'
1199 0 0 unless $srcBufferRef
1200 0 0 unless ref $srcBufferRef eq 'SCALAR'
1210 0 0 if (defined $writtenBytes) { }
1213 0 0 unless ($writtenBytes)
1230 0 0 if ($! == 11 and ++$trials < 100) { }
1266 0 0 unless $me
1267 0 0 unless ref $me eq 'IPC::LDT'
1268 0 0 unless @msg
1274 0 0 if ${join '::', 'IPC::LDT', 'Trace';} or $$me{'traceMode'}