| line |
true |
false |
branch |
|
71
|
42 |
110 |
unless $version =~ /\A$semver_re\z/ |
|
98
|
0 |
442 |
unless (defined $args{$_}) |
|
103
|
1 |
441 |
unless exists $attrs{$_} |
|
105
|
1 |
440 |
unless $args{$_} =~ /\A $attrs{$_} \z/x |
|
109
|
8 |
112 |
if ($class = ref $invocant) { } |
|
133
|
4 |
7 |
if ($strategy eq "trial") |
|
134
|
3 |
1 |
if ($self->has_pre_release) { } |
|
135
|
2 |
1 |
if (my($string, $number) = $self->pre_release =~ /$trial_pre_release/) { } |
|
136
|
1 |
1 |
$number eq '' ? : |
|
144
|
4 |
3 |
if $strategy eq "patch" |
|
146
|
1 |
2 |
if $strategy eq "minor" |
|
148
|
1 |
1 |
if $strategy eq "major" |
|
161
|
13 |
75 |
if $self->$_ != $other->$_ |
|
170
|
5 |
3 |
if $self->has_pre_release |
|
171
|
2 |
6 |
if $self->has_build |
|
179
|
18 |
2 |
$self->has_pre_release ? : |
|
180
|
17 |
3 |
$other->has_pre_release ? : |
|
183
|
18 |
2 |
if (@a) { } |
|
184
|
2 |
16 |
unless @b |
|
186
|
1 |
1 |
@b ? : |
|
190
|
3 |
13 |
@a < @b ? : |
|
199
|
5 |
17 |
if ($ai_is_num and $bi_is_num) { } |
|
|
1 |
16 |
elsif ($ai_is_num and not $bi_is_num) { } |
|
|
1 |
15 |
elsif (not $ai_is_num and $bi_is_num) { } |
|
201
|
3 |
2 |
if $sign != 0 |
|
210
|
6 |
9 |
if $sign != 0 |
|
220
|
0 |
48 |
@_ == 1 ? : |