blib/lib/String/BufferStack.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 30 | 48 | 62.5 |
line | l | !l | condition |
---|---|---|---|
383 | 0 | 0 | carp(q[String::BufferStack object didn't enable use_length]) and return 0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
176 | 22 | 1 | 8 | exists $$self{'pre_appends'}{$$frame{'buffer'}} and not $$frame{'filter'} |
255 | 22 | 0 | 7 | $hook and not $$frame{'pre_append'} |
0 | 15 | 7 | not $hook and $$frame{'pre_append'} | |
278 | 2 | 1 | 1 | defined $$self{'top'}{'filter'} and not defined $filter |
1 | 1 | 1 | not defined $$self{'top'}{'filter'} and defined $filter | |
300 | 1 | 14 | 22 | $frame and $$frame{'filter'} |
15 | 9 | 13 | $frame and $$frame{'filter'} and CORE::length ${$$frame{'pre_filter'};} | |
383 | 0 | 0 | 0 | $$self{'top'} and $$self{'top'}{'use_length'} |
line | l | !l | condition |
---|---|---|---|
60 | 0 | 6 | $args{'prealloc'} || 0 |
67 | 5 | 1 | $args{'out_method'} || sub { print STDOUT @_; } |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
137 | 0 | 0 | 19 | $$self{'use_length'} or $$frame{'use_length'} |
173 | 0 | 31 | 18 | $$self{'local_frame'} || $$self{'top'} |
207 | 2 | 0 | 0 | $$self{'local_frame'} || $$self{'top'} |
253 | 29 | 0 | 0 | $$self{'local_frame'} || $$self{'top'} |
299 | 13 | 23 | 1 | shift() || $$self{'top'} |
383 | 0 | 0 | 0 | $$self{'use_length'} or $$self{'top'} and $$self{'top'}{'use_length'} |