Branch Coverage

blib/lib/optional.pm
Criterion Covered Total %
branch 16 18 88.8


line true false branch
28 2 3 if (eval { do { require $file; 1 } }) { }
40 1 2 unless $err =~ /Can't locate \Q$file\E in \@INC/
44 1 2 unless ($use)
52 0 7 if (@_ % 2) { }
59 7 0 unless ($msg)
60 4 3 if ($params{'message'}) { }
65 1 2 if (my $f = $params{'feature'}) { }
75 6 1 if $params{'append_modules'}
77 3 4 if $params{'trace'} or $params{'confess'}