Branch Coverage

blib/lib/Data/RingBuffer.pm
Criterion Covered Total %
branch 9 12 75.0


line true false branch
18 16 16 if $_[0]{'head'} == $_[0]{'size'}
20 0 32 if $_[0]{'tail'} > 0
23 16 16 if $_[0]{'head'} < $_[0]{'size'}
36 1 16 if $_[0]{'tail'} >= $_[0]{'head'}
44 0 1 unless defined $_[1]
45 0 1 unless $_[1] > 0