Branch Coverage

blib/lib/Net/PublicSuffixList.pm
Criterion Covered Total %
branch 14 26 53.8


line true false branch
90 11 44 if ($k eq 'local_path')
96 2 9 if (not $self->{'no_local'} and -e $self->local_path) { }
0 9 elsif (not $self->{'no_net'}) { }
140 2 4 unless (ref $list eq 'SCALAR')
151 8 20 if /\A\s*\z/u or m[\A\s*//]u
188 24 26 exists $self->{'suffix'}{$suffix} ? :
250 1 2 if $self->{'no_local'}
271 1 0 if $self->{'no_net'}
279 0 0 if ($self->{'cache_dir'})
281 0 0 if ($local_last_modified)
289 0 0 if ($tx->result->code eq '304') { }
0 0 elsif ($tx->result->code eq '200') { }
304 0 0 if ($self->{'cache_dir'})