Branch Coverage

blib/lib/Sys/GNU/ldconfig.pm
Criterion Covered Total %
branch 25 46 54.3


line true false branch
47 0 2 if ref $package
60 0 2 unless -d $path
75 0 7 unless defined $file
83 5 2 unless $part =~ /^lib/
84 5 2 unless $part =~ /\.\Q$Sys::GNU::ldconfig::Config{'dlext'}\E/
87 0 7 if -e $part
90 7 12 if -e $file
105 0 0 if ($file =~ /^(.*?\.\Q$Sys::GNU::ldconfig::Config{'dlext'}\E\.\d+)\..*/)
106 0 0 if -e $1
109 0 0 if $file =~ /\.\Q$Sys::GNU::ldconfig::Config{'dlext'}\E\.\d+$/
114 0 0 unless ('File::Spec'->file_name_is_absolute($file))
119 0 7 if ($file =~ /^(.*?\.\Q$Sys::GNU::ldconfig::Config{'dlext'}\E\.\d+)\..*/)
120 0 0 if -e $1
131 0 14 if $root eq $self->{'absroot'}
140 7 0 unless $root eq $self->{'absroot'}
149 0 2 if ($ENV{$Sys::GNU::ldconfig::Config{'ldlibpthname'}})
155 2 0 if -f $conf
159 6 8 unless -d $dir
177 2 8 if ($include_next) { }
2 6 elsif ($dir eq 'include') { }
197 2 0 unless 'File::Spec'->file_name_is_absolute($dir)
202 0 2 unless -f $conf
213 2 5 unless $self->{'have_dirs'}