| line |
true |
false |
branch |
|
16
|
20 |
0 |
if (ref $root eq ref {} and not $opts) |
|
27
|
20 |
0 |
if ($root) { } |
|
|
0 |
0 |
elsif (not $self->{'DISTROOT'}) { } |
|
47
|
0 |
20 |
unless (@manifind) |
|
58
|
0 |
20 |
if $self->{'META_CONTENT'} |
|
63
|
0 |
0 |
if (length $a < length $b) { } |
|
65
|
0 |
0 |
if (length $a < length $b) { } |
|
70
|
0 |
8 |
if ($json and $yaml and length $json > length($yaml) + 1) |
|
74
|
12 |
8 |
unless ($json or $yaml) |
|
83
|
8 |
0 |
if (-s $metafile_abs) { } |
|
88
|
0 |
8 |
unless ($ok) |
|
108
|
0 |
20 |
if (my $version_from_meta_ok = $self->_version_from_meta_ok) |
|
111
|
0 |
0 |
if ($provides and "HASH" eq ref $provides) |
|
115
|
20 |
0 |
if (not $indexing_method and @$pmfiles) |
|
119
|
20 |
0 |
if ($indexing_method) |
|
135
|
0 |
20 |
if ($pmfile_abs =~ m[/blib/]) |
|
145
|
15 |
0 |
if (not defined $result{$package} or $info->{$package}{'simile'}) |
|
149
|
0 |
15 |
if ($errs) |
|
152
|
0 |
0 |
$_ =~ /infile|warning/ ? : |
|
167
|
0 |
0 |
if ref $v ne ref {} |
|
168
|
0 |
0 |
if not defined $v->{'file'} or $v->{'file'} eq "" |
|
171
|
0 |
0 |
if (@stat) { } |
|
176
|
0 |
0 |
unless (defined $v->{'version'}) |
|
185
|
0 |
0 |
unless $self->_examine_pkg({"package", $k, "pp", $v}) |
|
201
|
0 |
0 |
if (not $package =~ /^\w[\w\:\']*\w?\z/ && $package =~ /\w\z/ or $package =~ /:/ and not $package =~ /::/ or $package =~ /\w:\w/ or $package =~ /:::/) |
|
215
|
0 |
0 |
if ($self->{'USERID'} and $self->{'PERMISSIONS'} and not $self->_perm_check($package)) |
|
228
|
0 |
0 |
if (not defined $_ or /^\s*$/ or /\s/) |
|
232
|
0 |
0 |
unless $self->_version_ok($pp) |
|
239
|
0 |
0 |
if length($pp->{'version'} || 0) > 16 |
|
250
|
80 |
24 |
unless $mf =~ /\.pm(?:\.PL)?$/i |
|
260
|
4 |
20 |
if $inmf =~ m[^(?:x?t|inc|local|perl5|fatlib|examples?|ex|eg|demo)/] |
|
262
|
8 |
12 |
if ($self->{'META_CONTENT'}) { } |
|
265
|
8 |
0 |
if (ref $no_index eq 'HASH') { } |
|
271
|
8 |
8 |
unless my $v = $no_index->{$k} |
|
273
|
8 |
0 |
if (ref $v eq 'ARRAY') { } |
|
277
|
0 |
16 |
if ($inmf =~ /^$ve$rest/) { } |
|
286
|
0 |
0 |
if ($inmf =~ /^$v$rest/) { } |
|
322
|
8 |
12 |
if @files |
|
329
|
28 |
28 |
if -d $_ |
|
330
|
0 |
28 |
if $name =~ m[/(?:\.(?:svn|git)|blib)/] |
|
333
|
4 |
24 |
if $skip and &$skip($rel) |
|
349
|
12 |
8 |
unless -f $manifile |
|
352
|
0 |
8 |
unless open my $fh, "<", $manifile |
|
354
|
0 |
80 |
if /^\s*#/ |
|
357
|
0 |
80 |
if (($file, $comment) = /^'(\\[\\']|.+)+'\s*(.*)/) { } |
|
363
|
0 |
80 |
unless $file |
|
374
|
8 |
4 |
unless -f $skipfile |
|
377
|
0 |
4 |
unless open my $fh, "<", $skipfile |
|
383
|
0 |
4 |
if (defined $1) |
|
387
|
0 |
4 |
unless defined $filename and $filename |
|
390
|
0 |
4 |
unless @skip |