line |
true |
false |
branch |
32
|
1 |
0 |
if (_STRING($$self{'uri'})) |
35
|
1 |
0 |
if (_STRING($$self{'timestamp'}) and not _POSINT($$self{'timestamp'})) |
36
|
0 |
1 |
unless ($$self{'timestamp'} =~ /^(\d\d\d\d)-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)Z$/) |
41
|
0 |
1 |
unless (_ARRAY0($$self{'mirrors'})) |
45
|
14 |
0 |
if (_STRING($$_{'uri'})) |
47
|
0 |
14 |
unless $_ = 'Mirror::YAML::URI'->new(%$_) |
78
|
0 |
0 |
if (defined $$yaml{'source'}) |
104
|
1 |
0 |
unless $_[0]{'age'} |
125
|
14 |
14 |
if defined $$mirror{'live'} |
145
|
0 |
0 |
if ($self->age < 2592000) |
153
|
0 |
0 |
if $_->age >= 0 |
155
|
0 |
0 |
unless (scalar @uris <= 2 and $uris[0] and $uris[0] >= scalar($self->mirrors) - 1) |
162
|
0 |
0 |
unless my $new_uri = 'Mirror::YAML::URI'->new('uri', 'URI'->new($uris[0])) |
165
|
0 |
0 |
unless $new_uri->get |
169
|
0 |
0 |
unless my $new = $new_uri->yaml |
172
|
0 |
0 |
if ($old{$_->uri}) { } |
202
|
0 |
1 |
if (@ideal >= $wanted) |
208
|
0 |
1 |
if (@current >= $wanted) |
213
|
0 |
1 |
if (@current) |