Branch Coverage

blib/lib/Dpkg/Shlibs.pm
Criterion Covered Total %
branch 20 36 55.5


line true false branch
59 0 18 unless open my $fh, '<', $file
62 8 34 if /^\s*$/
65 10 24 if (/^include\s+(\S.*\S)\s*$/) { }
16 8 elsif (m[^\s*/]) { }
68 14 2 if -e $include and not $visited{$include}
73 16 0 if (&none(sub { $_ eq $libdir; } , @custom_librarypaths, @system_librarypaths))
92 2 0 if ($ENV{'LD_LIBRARY_PATH'})
100 0 2 unless defined $realpath
101 0 2 if ($realpath =~ /^\Q$cwd\E/)
118 0 2 if ($ENV{'DEB_TARGET_GNU_TYPE'} and $ENV{'DEB_TARGET_GNU_TYPE'} ne $ENV{'DEB_BUILD_GNU_TYPE'})
124 0 2 if (&get_build_arch() ne &get_host_arch())
128 0 2 if ($multiarch)
135 2 0 if -e '/etc/ld.so.conf'
145 2 2 unless $librarypaths_init
151 0 6 unless $librarypaths_init
160 0 0 unless $librarypaths_init
169 0 0 if (-e "$checkdir/$lib")
171 0 0 if ($format eq $libformat) { }