line |
true |
false |
branch |
30
|
84 |
19 |
!&Scalar::Util::blessed($version) ? : |
|
2 |
103 |
!defined($version) ? : |
41
|
5 |
15 |
$type eq 'exact_version' ? : |
79
|
0 |
6 |
unless my $range = $self->__entry_for($module) |
87
|
1 |
2 |
unless $self->__entry_for($module) |
89
|
1 |
1 |
if $self->is_finalized |
116
|
1 |
98 |
if $fin and not $old |
122
|
1 |
89 |
if $fin and $old->as_string ne $new->as_string |
133
|
1 |
3 |
if $self->__entry_for($module)->as_string =~ /\s/ |
175
|
2 |
4 |
if (not defined $ver) { } |
178
|
1 |
3 |
unless my $methods = $methods_for_op{$op} |
209
|
2 |
1 |
if $self->_accepts($version) |
216
|
2 |
1 |
if $$self{'version'} >= $minimum |
222
|
2 |
1 |
if $$self{'version'} <= $maximum |
228
|
2 |
1 |
unless $exclusion == $$self{'version'} |
239
|
0 |
0 |
ref $_[0] ? : |
242
|
50 |
36 |
unless ref $_[0] |
250
|
34 |
2 |
exists $$s{'minimum'} ? : |
|
8 |
28 |
exists $$s{'maximum'} ? : |
|
12 |
24 |
exists $$s{'exclusions'} ? : |
260
|
11 |
1 |
if exists $$self{'minimum'} |
261
|
3 |
9 |
if exists $$self{'maximum'} |
262
|
11 |
1 |
unless $$self{'exclusions'} |
269
|
0 |
49 |
unless keys %$self |
271
|
34 |
15 |
if keys %$self == 1 and exists $$self{'minimum'} |
273
|
6 |
9 |
unless $$self{'exclusions'} |
282
|
24 |
6 |
if (exists $$self{$k}) |
284
|
23 |
1 |
if (@new_exclusions == @exclusions) { } |
302
|
1 |
7 |
unless $self->_accepts($version) |
311
|
19 |
59 |
if (defined $$self{'minimum'} and defined $$self{'maximum'}) |
312
|
2 |
17 |
if ($$self{'minimum'} == $$self{'maximum'}) |
314
|
1 |
1 |
unless $$self{'exclusions'} |
|
1 |
1 |
if grep {$_ == $$self{'minimum'};} @{[] unless $$self{'exclusions'};} |
319
|
2 |
15 |
if $$self{'minimum'} > $$self{'maximum'} |
324
|
21 |
53 |
if ($$self{'exclusions'}) |
326
|
19 |
1 |
if !defined($$self{'minimum'}) || $_ >= $$self{'minimum'} and !defined($$self{'maximum'}) || $_ <= $$self{'maximum'} |
342
|
10 |
37 |
if (defined(my $old_min = $$self{'minimum'})) { } |
355
|
1 |
16 |
if (defined(my $old_max = $$self{'maximum'})) { } |
376
|
2 |
12 |
if defined $$self{'minimum'} and $version < $$self{'minimum'} |
377
|
1 |
11 |
if defined $$self{'maximum'} and $version > $$self{'maximum'} |
379
|
1 |
10 |
if defined $$self{'exclusions'} and grep {$version == $_;} @{$$self{'exclusions'};} |