blib/lib/Data/RingBuffer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 18 | 18 | 100.0 |
line | true | false | branch |
---|---|---|---|
18 | 20 | 22 | if ($_[0]{'head'} == $_[0]{'size'}) |
19 | 1 | 19 | if exists $_[0]{'die_overflow'} |
21 | 2 | 17 | if $_[0]{'tail'} > 0 |
26 | 22 | 19 | if $_[0]{'head'} < $_[0]{'size'} |
39 | 1 | 20 | if $_[0]{'tail'} >= $_[0]{'head'} |
47 | 1 | 6 | unless defined $_[1] |
48 | 1 | 4 | unless $_[1] > 0 |
51 | 2 | 2 | if (ref $_[2] eq 'HASH') |
52 | 1 | 1 | if $_[2]{'die_overflow'} |