Condition Coverage

blib/lib/Stream/Reader.pm
Criterion Covered Total %
condition 1 69 1.4


and 3 conditions

line !l l&&!r l&&r condition
309 0 0 0 $] >= 5.008001 and not $$self{'mode_U'}
0 0 0 $] >= 5.008001 and not $$self{'mode_U'} and $result
0 0 0 $] >= 5.008001 and not $$self{'mode_U'} and $result and utf8::is_utf8($buffer)
0 0 0 $] >= 5.008001 and not $$self{'mode_U'} and $result and utf8::is_utf8($buffer) and not utf8::valid($buffer)
0 0 0 defined $$attr{'Limit'} && $$attr{'Limit'} >= 0
0 0 0 defined $$attr{'BuffSize'} && $$attr{'BuffSize'} >= 0
0 0 0 $$attr{'Mode'} && index(uc $$attr{'Mode'}, 'B') != -1
0 0 0 $$attr{'Mode'} && index(uc $$attr{'Mode'}, 'U') != -1
0 0 0 defined($Shift = shift()) && $Shift >= 0
0 0 0 defined ${$$attr{'Out'};} && $$attr{'Mode'} && index(uc $$attr{'Mode'}, 'A') != -1
0 0 0 UNIVERSAL::isa($$attr{'Out'}, 'SCALAR') and not defined ${$$attr{'Out'};} && $$attr{'Mode'} && index(uc $$attr{'Mode'}, 'A') != -1
0 0 0 defined $$attr{'Limit'} && $$attr{'Limit'} >= 0
0 0 0 $$attr{'Mode'} && index(uc $$attr{'Mode'}, 'I') != -1
0 0 0 defined ${$$attr{'Out'};} && $$attr{'Mode'} && index(uc $$attr{'Mode'}, 'A') != -1
0 0 0 UNIVERSAL::isa($$attr{'Out'}, 'SCALAR') and not defined ${$$attr{'Out'};} && $$attr{'Mode'} && index(uc $$attr{'Mode'}, 'A') != -1
0 0 0 $$self{'status'} && $max_d
0 0 0 $pos != -1 and $pos < $found
0 0 0 not $error and $$self{'Stored'} < $limit
0 0 0 not $error and $$self{'Stored'} < $limit
0 0 0 not $error and $$self{'Stored'} < $limit
0 0 0 $$attr{'Mode'} && index(uc $$attr{'Mode'}, 'E') != -1
310 7 0 0 $@ ne '' and $^W

or 3 conditions

line l !l&&r !l&&!r condition
309 0 0 0 not defined $result or $] >= 5.008001 and not $$self{'mode_U'} and $result and utf8::is_utf8($buffer) and not utf8::valid($buffer)