Branch Coverage

blib/lib/PkgConfig/LibPkgConf/Client.pm
Criterion Covered Total %
branch 21 28 75.0


line true false branch
87 0 41 ref $_[0] eq 'HASH' ? :
98 21 4 ref $_[0] ? :
101 0 41 if ($ENV{'PKG_CONFIG_ALLOW_SYSTEM_CFLAGS'} and not defined $opts->{'filter_include_dirs'})
106 0 41 if ($ENV{'PKG_CONFIG_ALLOW_SYSTEM_LIBS'} and not defined $opts->{'filter_lib_dirs'})
111 7 34 if defined $opts->{'filter_lib_dirs'}
112 7 34 if defined $opts->{'filter_include_dirs'}
116 11 30 if ($opts->{'path'}) { }
126 0 41 if (defined $ENV{'PKG_CONFIG_TOP_BUILD_DIR'})
130 0 41 if (defined $ENV{'PKG_CONFIG_SYSROOT_DIR'})
135 3 38 if (my $global = delete $opts->{'global'})
216 0 3 if ($ENV{'PKG_CONFIG_LOG'})
248 13 5 $ptr ? :
263 1 0 $ptr ? :
306 4 3 if (defined $value)