line |
true |
false |
branch |
20
|
0 |
12 |
unless $class->_from_meta($me) or $class->_from_cpanfile($me) or $class->_from_build_pl($me) or $class->_from_makefile_pl($me) |
29
|
0 |
0 |
unless $Module::CPANTS::Kwalitee::Prereq::a->{'requires'} cmp $Module::CPANTS::Kwalitee::Prereq::b->{'requires'} |
35
|
9 |
3 |
unless $meta and ref $meta eq ref {} |
39
|
0 |
3 |
if ($spec and ref $spec eq ref {} and ($spec->{'version'} || 0) =~ /^(\d+)/ and $1 >= 2) { } |
52
|
0 |
15 |
if ($meta->{$rel} and ref $meta->{$rel} eq ref {}) |
54
|
0 |
0 |
unless $prereqs_r and ref $prereqs_r eq ref {} |
56
|
0 |
0 |
$rel =~ /_/ ? : |
61
|
0 |
0 |
$map{$rel} ? : |
70
|
3 |
0 |
unless %res |
79
|
12 |
0 |
unless -f $cpanfile |
81
|
0 |
0 |
if $@ |
84
|
0 |
0 |
unless %res |
94
|
12 |
0 |
unless -f $build_pl_file |
97
|
0 |
0 |
unless $build_pl |
110
|
0 |
0 |
unless $block |
113
|
0 |
0 |
if ($hashref and ref $hashref eq ref {}) |
115
|
0 |
0 |
$rel =~ /_/ ? : |
121
|
0 |
0 |
$map{$rel} ? : |
144
|
0 |
12 |
unless $me->d->{'files_array'} |
145
|
20 |
0 |
unless $file =~ /Makefile\.PL$/ |
147
|
0 |
0 |
unless -f $makefile_pl_file |
150
|
0 |
0 |
unless $makefile_pl |
152
|
0 |
0 |
if ($makefile_pl =~ /use\s+inc::Module::Install/) { } |
159
|
0 |
0 |
$rel =~ /_/ ? : |
161
|
0 |
0 |
unless my $module = shift @tuples |
167
|
0 |
0 |
$map{$rel} ? : |
176
|
0 |
0 |
unless $block |
179
|
0 |
0 |
if ($hashref and ref $hashref eq ref {}) |
181
|
0 |
0 |
$rel eq 'PREREQ_PM' ? : |
186
|
0 |
0 |
$map{$rel} ? : |
202
|
0 |
0 |
unless $prereqs and ref $prereqs eq ref {} |
220
|
0 |
0 |
unless $prereqs_p and ref $prereqs_p eq ref {} |
223
|
0 |
0 |
unless $prereqs_r and ref $prereqs_r eq ref {} |
230
|
0 |
0 |
$map{$type} ? : |
242
|
0 |
0 |
unless -f $inifile |
244
|
0 |
0 |
unless eval {
do {
require Config::INI::Reader
}
} |
247
|
0 |
0 |
unless $config and ref $config eq ref {} |
262
|
0 |
0 |
unless $key =~ /^Prereqs\b/ |
265
|
0 |
0 |
if ($type) |
266
|
0 |
0 |
if ($type =~ s/^(Configure|Build|Test|Runtime)//) |
269
|
0 |
0 |
if ($type =~ s/^(Requires|Recommends|Suggests)//) |
274
|
0 |
0 |
unless $conf and ref $conf eq ref {} |
275
|
0 |
0 |
if ($conf->{'-phase'}) |
278
|
0 |
0 |
if ($conf->{'-relationship'}) |
287
|
0 |
0 |
$map{$type} ? : |