Branch Coverage

blib/lib/Iterator/Simple/Lookahead.pm
Criterion Covered Total %
branch 16 16 100.0


line true false branch
85 8 1 if @items
113 42624 12195 unless ref $_[0] eq 'CODE'
117 1 52899 if $n < 0
121 52822 54931 if $n < @{$self->_look_ahead;}
124 77 54854 unless @{$self->_iterators;}
128 35 54819 if (not defined $iter) { }
12204 42615 elsif (_is_iter($iter)) { }
133 12191 13 if (defined $value) { }