Branch Coverage

blib/lib/Mail/Box/FastScalar.pm
Criterion Covered Total %
branch 8 36 22.2


line true false branch
21 0 7 unless defined $$ref
40 0 0 unless defined ${$_[1];}
67 0 0 if ($pos >= $len) { }
71 0 0 $#_ ? :
85 0 0 $_[3] ? :
98 6 0 if ($whence == 0) { }
0 0 elsif ($whence == 1) { }
0 0 elsif ($whence == 2) { }
107 0 6 if ($self->{'pos'} > $len) { }
0 6 elsif ($self->{'pos'} < 0) { }
141 0 0 if ($pos >= $len) { }
164 0 79 if (not defined $/ or (my $idx = index($$ref, $/, $pos)) == -1) { }
165 0 0 if $pos >= length $$ref
179 7 0 if (defined $/)
188 0 7 if (length $r > 0)
192 0 7 wantarray ? :
196 0 0 defined $_[1] && UNIVERSAL::isa($_[1], 'Mail::Box::FastScalar') ? :
204 0 0 wantarray ? :