Branch Coverage

File:blib/lib/Test/Mocha/Method.pm
Coverage:91.3%

line%coveragebranch
58100TFunless $invocation->name eq $self->name
71100TFif (Slurpy->check($matcher)) { }
100TFelsif (Matcher->check($matcher)) { }
76100TFif ($matcher->is_a_type_of(ArrayRef())) { }
50TFelsif ($matcher->is_a_type_of(HashRef())) { }
80100TFunless scalar(@input) % 2 == 0
84100TFunless $matcher->check($value)
90100TFunless $matcher->check(shift @input)
94100TFunless _match(shift @input, $matcher)
99100TFif (@expected > 0 and Slurpy->check($expected[0]))
103100TFif ($matcher->is_a_type_of(ArrayRef())) { }
50TFelsif ($matcher->is_a_type_of(HashRef())) { }
10750TFunless scalar(@input) % 2 == 0
11150TFunless $matcher->check($value)
126100TFif ref $x ne ref $y
129100TFif (blessed $x or ref $x eq 'CODE')
135100TFif (ref $x eq 'ARRAY')
136100TFif $#{$x;} != $#{$y;}
140100TFunless _match($$x[$_], $$y[$_])
145100TFif (ref $x eq 'HASH')
147100TFunless $x ~~ $y
151100TFunless _match($$x{$_}, $$y{$_})
158100TFif looks_like_number $x xor looks_like_number $y