Branch Coverage

blib/lib/Class/ModuleByFile.pm
Criterion Covered Total %
branch 9 16 56.2


line true false branch
55 0 2 unless my $file = shift()
57 0 2 unless (-e $file)
60 2 0 if (defined $fh)
63 2 0 if ($line =~ /\s*package\s+([^ ;]+)/)
83 0 1 unless my $file = shift()
85 0 1 unless (-e $file)
88 1 0 if (defined $fh)
91 1 2 if ($line =~ /\s*extends\s+['"]([^ '"]+)['"]/)