Branch Coverage

blib/lib/Stream/Reader.pm
Criterion Covered Total %
branch 1 124 0.8


line true false branch
294 0 0 if (not _compile($name)) { }
306 0 7 if (not exists $$CODE{$name}) { }
309 0 0 if ($$self{'buffsize'} > $$self{'inlimit'}) { }
0 0 $result ? :
0 0 if $$self{'mode_B'}
0 0 if (not defined $result or $] >= 5.008001 and not $$self{'mode_U'} and $result and utf8::is_utf8($buffer) and not utf8::valid($buffer)) { }
0 0 if ($$self{'inlimit'})
0 0 if $result > $length
0 0 if $result < 0
0 0 if (UNIVERSAL::isa($$self{'input'}, 'SCALAR')) { }
0 0 elsif (UNIVERSAL::isa($$self{'input'}, 'GLOB')) { }
0 0 if (UNIVERSAL::isa($output, 'SCALAR')) { }
0 0 elsif (UNIVERSAL::isa($output, 'GLOB')) { }
0 0 ref($Shift = shift()) eq 'HASH' ? :
0 0 defined $$attr{'Limit'} && $$attr{'Limit'} >= 0 ? :
0 0 defined $$attr{'BuffSize'} && $$attr{'BuffSize'} >= 0 ? :
0 0 defined($Shift = shift()) && $Shift >= 0 ? :
0 0 ref($Shift = shift()) eq 'HASH' ? :
0 0 if (UNIVERSAL::isa($$attr{'Out'}, 'SCALAR') and not defined ${$$attr{'Out'};} && $$attr{'Mode'} && index(uc $$attr{'Mode'}, 'A') != -1)
0 0 unless $self->_fill_buffer
0 0 unless (length $$self{'bufferA'})
0 0 $$self{'Readed'} ? :
0 0 unless ($error)
0 0 unless $error
0 0 if $$self{'mode_B'}
0 0 unless ($error)
0 0 unless $error
0 0 if $$self{'mode_B'}
0 0 if (not length $$self{'bufferA'}) { }
0 0 elsif (length $$self{'bufferA'} <= $limit - $$self{'Readed'}) { }
0 0 if (not $$self{'status'}) { }
0 0 ref($Shift = shift()) eq 'ARRAY' ? :
0 0 ref($Shift = shift()) eq 'HASH' ? :
0 0 defined $$attr{'Limit'} && $$attr{'Limit'} >= 0 ? :
0 0 if (UNIVERSAL::isa($$attr{'Out'}, 'SCALAR') and not defined ${$$attr{'Out'};} && $$attr{'Mode'} && index(uc $$attr{'Mode'}, 'A') != -1)
0 0 if $max_d < length $_
0 0 if $min_d > length $_
0 0 $$self{'mode_B'} ? :
0 0 if ($wcase)
0 0 $wcase ? :
0 0 if ($pos != -1 and $pos < $found)
0 0 if $rsize > $limit - $$self{'Stored'}
0 0 unless $error
0 0 if (not $error and $$self{'Stored'} < $limit)
0 0 if $$self{'mode_B'}
0 0 if ($found < 10000000000)
0 0 if (length $$self{'bufferA'} >= $min_d)
0 0 if $rsize > $limit - $$self{'Stored'}
0 0 unless $error
0 0 if (not $error and $$self{'Stored'} < $limit)
0 0 if $$self{'mode_B'}
0 0 if (length $$self{'bufferA'} >= $max_d)
0 0 unless $self->_fill_buffer
0 0 if $rsize > $limit - $$self{'Stored'}
0 0 unless $error
0 0 if (not $error and $$self{'Stored'} < $limit)
0 0 if $$self{'mode_B'}
0 0 if (length $$self{'bufferA'})
0 0 $$attr{'Mode'} && index(uc $$attr{'Mode'}, 'E') != -1 ? :
0 0 if ($$self{'inlimit'}) { }
0 0 if (not $$self{'status'} && $max_d) { }
310 0 0 if ($@ ne '' and $^W)