Branch Coverage

blib/lib/Mojo/DOM58/_Collection.pm
Criterion Covered Total %
branch 29 34 85.2


line true false branch
13 3 0 $] >= 5.008009 ? :
30 8 1 if defined $_
35 10 105 unless $cb
43 64 11 unless $cb
44 1 10 if ref $cb eq 'Regexp'
52 1 34 if ref $cb eq 'Regexp'
57 38 3 defined $_[1] ? :
87 2 4 unless $cb
109 11 1 defined $r ? :
3 4 if $cb
110 26 1 defined $_ ? :
118 0 1 /^\+(.+)$/ ? :
1 1 unless my $class = &blessed($self)
122 0 1 /^\+(.+)$/ ? :
126 11 30 _ref($_) ? :
133 0 0 unless @_ > 1
150 38 3 unless ref $_[0] eq 'ARRAY'