line |
true |
false |
branch |
31
|
1 |
22 |
unless defined $params{'milestones'} |
32
|
15 |
7 |
unless $self->_is_positive_integer($params{'milestones'}) |
49
|
16 |
44 |
if ($self->is_completed) { } |
62
|
4 |
61 |
unless $self->can_calculate_eta |
64
|
24 |
37 |
if $self->is_completed |
99
|
56 |
121 |
$$self{'_passed_milestones'} == $$self{'_milestones'} ? : |
109
|
13 |
8 |
if ($$self{'_passed_milestones'} < $$self{'_milestones'}) { } |
119
|
2 |
11 |
if ($$self{'_passed_milestones'} == $$self{'_milestones'}) |
130
|
113 |
12 |
if ($$self{'_passed_milestones'} > 0) { } |
141
|
1 |
3 |
if $self->is_paused |
163
|
1 |
2 |
unless $self->is_paused |
201
|
2 |
56 |
unless defined $string |
209
|
2 |
54 |
if ($@) |
213
|
2 |
52 |
if ref $data ne 'HASH' |
215
|
2 |
50 |
unless defined $$data{'_version'} |
218
|
4 |
46 |
if $$data{'_version'} ne $SERIALIZATION_API_VERSION |
221
|
2 |
44 |
unless _is_positive_integer(undef, $$data{'_milestones'}) |
224
|
2 |
42 |
unless _is_positive_integer_or_zero(undef, $$data{'_passed_milestones'}) |
227
|
41 |
1 |
unless ($$data{'_is_paused'}) |
235
|
8 |
28 |
if (defined $$data{'_end'}) |
243
|
29 |
7 |
if (defined $$data{'_milestone_pass'}) |
274
|
3 |
10 |
if (not $@) { } |
284
|
1 |
79 |
unless defined $params{'name'} |
286
|
2 |
77 |
if ref $params{'value'} ne 'ARRAY' |
289
|
2 |
75 |
unless _is_positive_integer_or_zero(undef, $params{'value'}[0]) |
292
|
2 |
73 |
unless _is_positive_integer_or_zero(undef, $params{'value'}[1]) |
301
|
1 |
271 |
unless defined $maybe_number |
317
|
1 |
73 |
unless defined $maybe_number |
319
|
2 |
71 |
if $maybe_number eq '0' |
320
|
1 |
70 |
if $maybe_number eq '+0' |