Branch Coverage

inc/Test/Exception.pm
Criterion Covered Total %
branch 11 32 34.3


line true false branch
16 0 4 if (@_)
88 25 56 if (caller() eq 'DB') { }
91 25 0 if (wantarray)
92 0 25 if (not @_) { }
119 0 56 if (wantarray and not @_) { }
148 0 0 unless _is_exception($exception)
150 0 0 if $class and not "$exception" =~ /^\Q$class\E/
210 0 4 unless (defined $expecting)
214 0 4 unless defined $description
220 4 0 $regex ? :
221 0 0 ref $expecting ? :
224 0 4 unless ($ok)
298 0 5 unless $ok
341 0 0 unless defined $_[2]
345 0 0 if eval { do { &$test() } }
348 0 0 if (_is_exception($exception))