line |
true |
false |
branch |
24
|
19 |
39 |
if (ref $param eq 'HASH') { } |
33
|
1 |
21 |
defined $cfg->{'is_strict'} ? : |
38
|
6 |
16 |
defined $cfg->{'has_version'} ? : |
43
|
5 |
17 |
defined $cfg->{'consistent'} ? : |
48
|
4 |
18 |
defined $cfg->{'filename_match'} ? : |
53
|
2 |
20 |
defined $cfg->{'multiple'} ? : |
56
|
3 |
19 |
unless (ref $cfg->{'filename_match'} eq 'ARRAY') |
62
|
7 |
15 |
if ($mmv >= $rec and not defined $cfg->{'ignore_unindexable'}) |
88
|
1 |
72 |
unless $file |
90
|
1 |
71 |
unless -e $file |
93
|
0 |
71 |
if ($cfg->{'ignore_unindexable'} and not $info->is_indexable) |
98
|
12 |
59 |
if (@{$cfg->{'filename_match'};} > 0) |
102
|
3 |
9 |
if (ref $pattern eq 'Regexp') { } |
|
3 |
6 |
elsif (ref $pattern eq 'CODE') { } |
103
|
1 |
2 |
if $file =~ /$pattern/ |
107
|
1 |
2 |
if &$pattern($file) |
111
|
2 |
4 |
if $file eq $pattern |
114
|
4 |
8 |
if $match |
116
|
8 |
4 |
unless ($match) |
124
|
6 |
57 |
$cfg->{'multiple'} ? : |
126
|
11 |
52 |
unless ($_IN_VERSION_ALL_OK) |
131
|
25 |
38 |
unless ($cfg->{'has_version'}) |
133
|
6 |
19 |
unless (@packages) |
141
|
0 |
57 |
unless (@packages) |
152
|
10 |
53 |
unless (defined $version) |
158
|
10 |
53 |
unless ($version) |
164
|
21 |
32 |
unless (defined $version_number) |
167
|
27 |
26 |
if ($version ne $version_number) |
171
|
3 |
50 |
unless (is_lax($version)) |
177
|
1 |
49 |
if ($cfg->{'is_strict'}) |
178
|
1 |
0 |
unless (is_strict($version)) |
186
|
11 |
46 |
unless ($_IN_VERSION_ALL_OK) |
187
|
1 |
1 |
if ($ok and not $consistent and $cfg->{'consistent'}) |
206
|
0 |
0 |
-d 'blib' ? : |
|
12 |
0 |
defined $dir ? : |
212
|
0 |
12 |
unless -d $dir |
228
|
3 |
9 |
if ($cfg->{'consistent'} and not $consistent) |
234
|
6 |
2 |
defined $version ? : |
241
|
1 |
8 |
if (not $cfg->{'has_version'} and $version_counter < 1) { } |