Branch Coverage

blib/lib/DOM/Tiny/_Collection.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
9 2 0 $] >= 5.008009 ? :
22 8 1 if defined $_
27 10 103 unless $cb
35 63 11 unless $cb
36 1 10 if ref $cb eq 'Regexp'
44 1 8 if ref $cb eq 'Regexp'
49 34 3 defined $_[1] ? :
79 2 4 unless $cb
101 2 3 if $cb
106 11 30 _ref($_) ? :
113 0 0 unless @_ > 1
131 38 3 unless ref $_[0] eq 'ARRAY'