Branch Coverage

blib/lib/Mojo/Collection.pm
Criterion Covered Total %
branch 26 26 100.0


line true false branch
19 8 1 if defined $_
24 252 107 unless $cb
32 68 11 unless $cb
33 1 10 if &is_regexp($cb)
41 1 34 if &is_regexp($cb)
47 1 8 if $size > @$self
48 4 4 if $size >= 0
83 2 4 unless $cb
96 1 8 if $size > @$self
97 4 4 if $size >= 0
108 3 4 if $cb
115 11 30 _ref($_) ? :
118 38 3 unless ref $_[0] eq "ARRAY"