Branch Coverage

blib/lib/Mojolicious/Plugin/Loop.pm
Criterion Covered Total %
branch 20 24 83.3


line true false branch
9 0 4 $_[0]{'index'} % 2 ? :
18 4 12 if @{$self->{'items'};} <= ++$self->{'index'}
20 3 9 $self->{'map'} ? :
24 2 4 $_[0]{'index'} % 2 ? :
25 2 4 $_[0]{'index'} % 2 ? :
30 2 10 $index < 0 ? :
35 3 6 $_[0]{'map'} ? :
43 76 4 if @_ == 1
54 3 1 if (UNIVERSAL::isa($data, 'ARRAY')) { }
1 0 elsif (UNIVERSAL::isa($data, 'HASH')) { }
0 0 elsif (UNIVERSAL::can($data, 'to_array')) { }
65 1 3 unless $cb