Branch Coverage: blib/lib/Test/Mocha.pm

# Branch Coverage

File: | blib/lib/Test/Mocha.pm
Coverage: | 100.0%

line | % | coverage | branch
--- | --- | --- | ---
58 | 100 | T | F | if ref $_ ne 'CODE'
76 | 100 | T | F | if @return_values == 1
78 | 100 | T | F | if @return_values > 1
87 | 100 | T | F | if blessed($exception[0]) and $exception[0]->can('throw')
105 | 100 | T | F | if (@_ > 0 and ref $_[0] eq 'CODE')
108 | 100 | T | F | if (@_ > 0)
126 | 100 | T | F | unless Num->check($n)
138 | 100 | T | F | unless Num->check($n)
149 | 100 | T | F | unless Num->check($n)
160 | 100 | T | F | unless NumRange->check([$lower, $upper])
183 | 100 | T | F | unless MockType->check($mock)
194 | 100 | T | F | if not @mocks or grep {not MockType->check($_);} @mocks
223 | 100 | T | F | if defined ${$caller_pkg . '::INC';}{$module_file}
227 | 100 | T | F | if defined *{$mocked_class . '::AUTOLOAD';}{'CODE'}