line |
true |
false |
branch |
16
|
20 |
0 |
if (ref $root eq ref {} and not $opts) |
41
|
0 |
20 |
unless (@manifind) |
55
|
0 |
0 |
length $a < length $b ? : |
57
|
0 |
0 |
length $a < length $b ? : |
62
|
0 |
8 |
if ($json and $yaml and length $json > length($yaml) + 1) |
66
|
12 |
8 |
unless ($json or $yaml) |
75
|
8 |
0 |
if (-s $metafile_abs) { } |
80
|
0 |
8 |
unless ($ok) |
100
|
0 |
20 |
if (my $version_from_meta_ok = $self->_version_from_meta_ok) |
103
|
0 |
0 |
if ($provides and 'HASH' eq ref $provides) |
107
|
20 |
0 |
if (not $indexing_method and @$pmfiles) |
111
|
20 |
0 |
if ($indexing_method) |
127
|
0 |
20 |
if ($pmfile_abs =~ m[/blib/]) |
137
|
15 |
0 |
if (not defined $result{$package} or $info->{$package}{'simile'}) |
141
|
0 |
15 |
if ($errs) |
144
|
0 |
0 |
$_ =~ /infile|warning/ ? : |
159
|
0 |
0 |
if ref $v ne ref {} |
160
|
0 |
0 |
if not defined $v->{'file'} or $v->{'file'} eq '' |
163
|
0 |
0 |
if (@stat) { } |
168
|
0 |
0 |
unless (defined $v->{'version'}) |
177
|
0 |
0 |
unless $self->_examine_pkg({'package', $k, 'pp', $v}) |
193
|
0 |
0 |
if (not $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/ or $package =~ /:/ and not $package =~ /::/ or $package =~ /\w:\w/ or $package =~ /:::/) |
207
|
0 |
0 |
if ($self->{'USERID'} and $self->{'PERMISSIONS'} and not $self->_perm_check($package)) |
220
|
0 |
0 |
if (not defined $_ or /^\s*$/ or /\s/) |
224
|
0 |
0 |
unless $self->_version_ok($pp) |
231
|
0 |
0 |
if length($pp->{'version'} || 0) > 16 |
242
|
80 |
24 |
unless $mf =~ /\.pm(?:\.PL)?$/i |
251
|
4 |
20 |
if $inmf =~ m[^(?:x?t|inc|local|perl5|fatlib)/] |
253
|
8 |
12 |
if ($self->{'META_CONTENT'}) { } |
256
|
8 |
0 |
if (ref $no_index eq 'HASH') { } |
262
|
8 |
8 |
unless my $v = $no_index->{$k} |
264
|
8 |
0 |
if (ref $v eq 'ARRAY') { } |
268
|
0 |
16 |
if ($inmf =~ /^$ve$rest/) { } |
277
|
0 |
0 |
if ($inmf =~ /^$v$rest/) { } |
313
|
8 |
12 |
if @files |
320
|
28 |
28 |
if -d $_ |
321
|
0 |
28 |
if $name =~ m[/(?:\.(?:svn|git)|blib)/] |
324
|
4 |
24 |
if $skip and &$skip($rel) |
340
|
12 |
8 |
unless -f $manifile |
343
|
0 |
8 |
unless open my $fh, '<', $manifile |
345
|
0 |
80 |
if /^\s*#/ |
348
|
0 |
80 |
if (($file, $comment) = /^'(\\[\\']|.+)+'\s*(.*)/) { } |
354
|
0 |
80 |
unless $file |
365
|
8 |
4 |
unless -f $skipfile |
368
|
0 |
4 |
unless open my $fh, '<', $skipfile |
374
|
0 |
4 |
if (defined $1) |
378
|
0 |
4 |
unless defined $filename and $filename |
381
|
0 |
4 |
unless @skip |