Condition Coverage

blib/lib/Perl/LibExtractor.pm
Criterion Covered Total %
condition 0 42 0.0


and 3 conditions

line !l l&&!r l&&r condition
138 0 0 0 !$inc_seen{$_}++ && -d "$_/."
193 0 0 0 s/$pfxmatch//u and exists $$lib{$_}
223 0 0 0 $_ eq '.packlist' and $pfx =~ m[^auto/]u
0 0 0 /\.bs$/u and $pfx =~ m[^auto/]u
0 0 0 /\.bs$/u and $pfx =~ m[^auto/]u and not -s "$root/$dir/$_"
327 0 0 0 $$self{'use_packlist'} and exists $$self{'packlist'}{$_}
396 0 0 0 exists $$lib{$_} and $self->add_require($_)
615 0 0 0 length $libpath and -e $libpath

or 2 conditions

line l !l condition
329 0 0 $$self{'lib'}{$_} || die()
0 0 $$self{'set'}{"lib/$_"} ||= [$$self{'lib'}{$_} || die()]
707 0 0 $$self{'set'}{$_} ||= ['lib/' . ($$lib{$_} || croak("${_}: unable to locate file in perl library"))]

or 3 conditions

line l !l&&r !l&&!r condition
321 0 0 0 $$self{'set'}{$path} ||= do { my @info; croak("${_}: unable to locate file in perl library") unless $info[0] = $$lib{$_}; if ($$self{'use_packlist'} and exists $$self{'packlist'}{$_}) { $$self{'set'}{"lib/$_"} ||= [$$self{'lib'}{$_} || die()] foreach (@{$$self{'packlist'}{$_};}); } elsif (/^(.*)\.pm$/u) { (my $auto = "auto/$1/") =~ s[::][/]gu; die unless $auto =~ m[/([^/]+)/$]u; my $base = $1; if (exists $$lib{$auto}) { my $so = "$auto$base.$Perl::LibExtractor::Config{'dlext'}"; if (my $src = $$lib{$so}) { $so = "lib/$so"; push @{$info[1];}, $so; $$self{'set'}{$so} = [$src]; } ; my $ix = "${auto}autosplit.ix"; if (my $src = $$lib{$ix}) { $ix = "lib/$ix"; push @{$info[1];}, $ix; $$self{'set'}{$ix} = [$src]; croak("${src}: $!") unless open my $fh, '<:perlio', $src; my $package; while (defined($_ = <$fh>)) { if (/^\s*sub\s+ ([^[:space:];]+) \s* (?:\([^)]*\))? \s*;?\s*$/ux) { my $al = "auto/$package/$1.al"; croak("${al}: autoload file not found, but should be there.") unless my $src = $$lib{$al}; $al = "lib/$al"; push @{$info[1];}, $al; $$self{'set'}{$al} = [$src]; } elsif (/^\s*package\s+([^[:space:];]+)\s*;?\s*$/u) { ($package = $1) =~ s[::][/]gu; } elsif (/^\s*(?:#|1?\s*;?\s*$)/u) { (); } else { warn "WARNING: ${src}: unparsable line, please report: $_"; } ; } ; } ; skip: ; } ; } ; if (exists $$self{'extra_deps'}{$_}) { $self->add_eval("require q\000$_\000"); exists $$lib{$_} and $self->add_require($_) foreach (@{$$self{'extra_deps'}{$_};}); } ; \@info }
414 0 0 0 exists $$self{'trace_begin'} or exists $$self{'trace_check'}
447 0 0 0 s/$pfxmatch//u or croak("${_}: file outside any library directory")
707 0 0 0 $$lib{$_} || croak("${_}: unable to locate file in perl library")