Branch Coverage

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


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