Branch Coverage

lib/warnings/MaybeFatal.pm
Criterion Covered Total %
branch 9 18 50.0


line true false branch
11 0 3 if ($] < 5.012)
21 0 3 unless 'B::Hooks::EndOfScope'->Module::Implementation::implementation_for eq 'XS'
37 0 8 unless (ref $orig)
41 0 0 $orig eq 'DEFAULT' || $orig eq 'IGNORE' ? :
43 0 0 exists &{'main::' . $orig;} ? :
45 0 0 unless defined $orig
50 6 2 _my_hints()->{'warnings::MaybeFatal'} ? :
57 4 4 if (@warnings == 1) { }
1 3 elsif (@warnings) { }