Branch Coverage

blib/lib/Namespace/Subroutines.pm
Criterion Covered Total %
branch 14 20 70.0


line true false branch
27 0 9 unless -d $path
30 2761 1483 unless /\.pm$/
32 1482 1 unless $name =~ /^$ns2/
48 0 1 unless $namespace =~ /^$ns2/
49 1 0 unless defined $INC{$modname}
62 0 1 unless open my $fh, "<", $path
64 8 2 unless $line =~ /^sub\s+(\w+)[\:\(\s]/
67 0 1 unless close $fh
73 0 4 if $skip{$sub}
74 2 2 unless $subroutines{$sub}