Branch Coverage

blib/lib/DBIx/Roles/Buffered.pm
Criterion Covered Total %
branch 12 20 60.0


line true false branch
32 11 1 if $$storage{'lock'} or not $$self{'attr'}{'Buffered'} or $method ne 'do' and $method ne 'selectrow_array'
38 0 1 if $attr_hash and scalar keys %$attr_hash
44 0 1 if $$self{'attr'}{'BufferLimit'} and $length + $$storage{'curr'} > $$self{'attr'}{'BufferLimit'}
49 0 1 if $expected != @params
57 1 0 $method eq 'do' ? :
63 10 1 unless $$storage{'curr'}
73 1 0 unless $discard
108 3 14 if ($key eq 'Buffered' and not $val) { }
0 14 elsif ($key eq 'BufferLimit') { }
112 0 0 unless $val =~ /^\d+$/