Branch Coverage

blib/lib/Test/Double/Mock/Expectation.pm
Criterion Covered Total %
branch 29 30 96.6


line true false branch
44 27 0 if (defined $behavior)
45 3 24 ref $behavior eq 'CODE' ? :
55 9 34 if ($$self{'with_args'})
64 2 7 if (scalar @args != scalar @{$$self{'with_args'};})
71 8 3 if ($ok) { }
82 4 2 $$self{'called'} < $$self{'at_least'} ? :
87 2 3 $$self{'called'} > $$self{'at_most'} ? :
92 3 2 $$self{'called'} != $$self{'times'} ? :
98 6 25 if ($$self{'at_least'})
101 5 26 if ($$self{'at_most'})
104 5 26 if ($$self{'times'})
119 2 19 if ($$self{'at_least'})
123 3 18 if ($$self{'at_most'})
127 2 19 if ($$self{'times'})
132 3 13 ref $_ ? :