Condition Coverage

blib/lib/Panda/Install.pm
Criterion Covered Total %
condition 60 145 41.3


and 3 conditions

line !l l&&!r l&&r condition
38 34 0 0 $postamble and not ref $postamble
76 33 1 0 $params{'BIN_SHARE'} and not %{$params{'BIN_SHARE'};}
80 31 2 1 $val and ref $val ne 'ARRAY'
85 28 2 4 $val and ref $val ne 'ARRAY'
30 2 2 $val and ref $val ne 'ARRAY' and ref $val ne 'HASH'
89 34 0 0 $params{'TYPEMAPS'} and ref $params{'TYPEMAPS'} ne 'ARRAY'
123 34 0 0 my $shared_libs = $params{'MODULE_INFO'}{'SHARED_LIBS'} and $^O ne 'darwin'
133 0 1 33 $params{'C'} and @{$params{'C'};}
0 1 0 $params{'OBJECT'} and @{$params{'OBJECT'};}
0 1 0 $params{'XS'} and scalar keys %{$params{'XS'};}
229 0 0 0 $info->{'GMAKE'} and $^O eq 'freebsd'
304 0 0 0 $libs and @$libs
331 0 0 0 $info->{'CPLUS'} and !$params->{'CPLUS'} || $params->{'CPLUS'} < $info->{'CPLUS'}
333 0 0 0 my $bin_share = $params->{'BIN_SHARE'} and not $stop_sharing
352 0 1 0 $bin_share->{'LIBS'} and ref $bin_share->{'LIBS'} ne 'ARRAY'
353 1 0 0 $bin_share->{'PASSTHROUGH'} and ref $bin_share->{'PASSTHROUGH'} ne 'ARRAY'
436 0 1 45 $xs && %$xs

or 2 conditions

line l !l condition
35 0 34 $params{'MIN_PERL_VERSION'} ||= '5.10.0'
39 0 34 $postamble ||= {}
57 0 34 $params{'CONFIGURE_REQUIRES'} ||= {}
58 0 34 $params{'CONFIGURE_REQUIRES'}{'ExtUtils::MakeMaker'} ||= '6.76'
61 0 34 $params{'BUILD_REQUIRES'} ||= {}
62 0 34 $params{'BUILD_REQUIRES'}{'ExtUtils::MakeMaker'} ||= '6.76'
63 0 34 $params{'BUILD_REQUIRES'}{'ExtUtils::ParseXS'} ||= '3.24'
65 0 34 $params{'TEST_REQUIRES'} ||= {}
66 0 34 $params{'TEST_REQUIRES'}{'Test::Simple'} ||= '0.96'
67 0 34 $params{'TEST_REQUIRES'}{'Test::More'} ||= 0
68 0 34 $params{'TEST_REQUIRES'}{'Test::Deep'} ||= 0
70 0 34 $params{'PREREQ_PM'} ||= {}
73 0 34 $params{'clean'} ||= {}
74 0 34 $params{'clean'}{'FILES'} ||= ''
91 0 34 Panda::Install::Payload::module_info($params{'NAME'}) || {}
108 1 2 $params{'CC'} ||= 'c++'
109 0 3 $params{'LD'} ||= '$(CC)'
118 0 34 $params{'LDFROM'} ||= '$(OBJECT)'
146 0 34 $params->{'PMLIBDIRS'} ||= ['lib', $name_parts[-1]]
174 2 32 $xs_files ||= {}
230 0 0 $info->{'TARGET'} ||= ''
231 0 0 $info->{'FLAGS'} ||= ''
257 0 0 $params->{'TYPEMAPS'} ||= []
276 0 0 $params->{'MODULE_INFO'}{'SHARED_LIBS'} ||= []
327 0 0 $params->{'TYPEMAPS'} ||= []
334 0 0 $bin_share->{'PASSTHROUGH'} ||= []
342 1 0 delete $bin_share->{'TYPEMAPS'} || {}
347 1 0 delete $bin_share->{'INCLUDE'} || {}
370 1 0 $params->{'PM'} ||= {}
410 0 0 $info->{'BIN_DEPENDENT'} || []
425 12 0 $params->{'PM'} ||= {}
522 2 36 $_[0] ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
46 1 0 33 $params{'ALL_FROM'} or $params{'VERSION_FROM'}
0 0 33 $params{'ALL_FROM'} or $params{'VERSION_FROM'} or $params{'ABSTRACT_FROM'}
59 0 34 0 $params{'CONFIGURE_REQUIRES'}{'Panda::Install'} ||= $VERSION
71 0 34 0 $params{'PREREQ_PM'}{'Panda::Install'} ||= $VERSION
133 33 0 1 $params{'C'} and @{$params{'C'};} or $params{'OBJECT'} and @{$params{'OBJECT'};}
0 0 1 $params{'C'} and @{$params{'C'};} or $params{'OBJECT'} and @{$params{'OBJECT'};} or $params{'XS'} and scalar keys %{$params{'XS'};}
271 0 0 0 $params->{'CONFIGURE_REQUIRES'}{$module} ||= $installed_version
272 0 0 0 $params->{'PREREQ_PM'}{$module} ||= $installed_version
331 0 0 0 !$params->{'CPLUS'} || $params->{'CPLUS'} < $info->{'CPLUS'}
481 12 6 0 $map->{$source} || $source