Branch Coverage

blib/lib/Test/Mock/Mango/Collection.pm
Criterion Covered Total %
branch 51 56 91.0


line true false branch
33 2 2 ref $_[-1] eq 'CODE' ? :
38 2 2 if (defined $Test::Mock::Mango::error) { }
46 2 2 if $cb
58 2 0 ref $_[-1] eq 'CODE' ? :
61 1 1 if (defined $Test::Mock::Mango::error)
66 2 0 if $cb
78 2 0 ref $_[-1] eq 'CODE' ? :
81 1 1 if (defined $Test::Mock::Mango::error)
86 2 0 if $cb
99 2 3 ref $_[-1] eq 'CODE' ? :
103 2 3 if (defined $Test::Mock::Mango::error) { }
112 2 3 if $cb
138 1 1 $name ? :
149 4 4 ref $_[-1] eq 'CODE' ? :
155 2 6 if (defined $Test::Mock::Mango::error) { }
163 2 4 if (ref $docs eq 'ARRAY') { }
178 4 4 if $cb
186 0 6 ref $_[0] eq 'CODE' ? :
187 2 4 ref $_[0] eq 'CODE' ? :
189 2 4 ref $_[-1] eq 'CODE' ? :
194 2 4 if (defined $Test::Mock::Mango::error) { }
204 2 4 if $cb
213 2 4 ref $_[-1] eq 'CODE' ? :
218 2 4 if (defined $Test::Mock::Mango::error) { }
229 2 4 if $cb
238 2 3 ref $_[-1] eq 'CODE' ? :
242 2 3 if (defined $Test::Mock::Mango::error) { }
251 2 3 if $cb