Branch Coverage

blib/lib/Mojo/DOM58/_Collection.pm
Criterion Covered Total %
branch 37 42 88.1


line true false branch
14 3 0 $] >= 5.008009 ? :
32 8 1 if defined $_
37 10 105 unless $cb
45 65 11 unless $cb
46 1 10 if &re::is_regexp($cb)
54 1 34 if &re::is_regexp($cb)
60 1 8 if $size > @$self
61 4 4 if $size >= 0
66 46 3 defined $_[1] ? :
96 2 4 unless $cb
109 1 8 if $size > @$self
110 4 4 if $size >= 0
125 11 1 defined $r ? :
3 4 if $cb
126 26 1 defined $_ ? :
134 0 1 /^\+(.+)$/ ? :
1 1 unless my $class = &blessed($self)
138 0 1 /^\+(.+)$/ ? :
142 11 30 _ref($_) ? :
149 0 0 unless @_ > 1
166 38 3 unless ref $_[0] eq 'ARRAY'