Branch Coverage

blib/lib/IO/Buffered/FixedSize.pm
Criterion Covered Total %
branch 6 10 60.0


line true false branch
38 3 1 unless defined $length and $length =~ /^\d+$/
42 0 1 if $opts{'MaxSize'} and not $opts{'MaxSize'} =~ /^\d+$/ && $opts{'MaxSize'} > 0
81 0 2 if (my $maxsize = $$self{'maxsize'})
83 0 0 if ($length > $maxsize)
122 1 1 if $$self{'buffer'} ne ''