Branch Coverage

blib/lib/MMM/Mirror.pm
Criterion Covered Total %
branch 11 24 45.8


line true false branch
34 1 4 unless $infos{'url'}
36 1 3 unless $infos{'uri'} and $infos{'uri'}->can('host')
39 0 3 $infos{'uri'}->query ? :
79 2 0 defined $$self{'level'} ? :
90 0 2 unless $$self{'frequency'}
134 0 0 if ($$self{'hostinfo'}->get_geo) { }
196 0 0 if ($self->host eq $mirror->host and $self->source eq $mirror->source)
211 1 1 if (not defined $$self{$_} or defined $$mirror{$_} and $mirror->revision > $self->revision)
220 1 0 if ($$self{'hostinfo'} and $$mirror{'hostinfo'}) { }
227 0 1 if ($mirror->revision > $self->revision)
245 0 0 if (defined $$self{$_})
250 0 0 if ($$self{$_})