Branch Coverage

blib/lib/Web/Sitemap.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
131 0 0 if ($self->{'file_size_limit'} < 1048576)
135 0 0 if ($self->{'namespace'})
136 0 0 if (ref $self->{'namespace'} eq '') { }
0 0 elsif (ref $self->{'namespace'} ne 'ARRAY') { }
144 0 0 unless ($self->{'output_dir'})
148 0 0 if ($self->{'temp_dir'} and not -w $self->{'temp_dir'})
152 0 0 if ($self->{'move_from_temp_action'} and ref $self->{'move_from_temp_action'} ne 'CODE')
164 0 0 if (ref $url_list ne 'ARRAY')
174 0 0 if ($self->_file_limit_near($tag, &bytes::length($data)))
185 0 0 unless keys %{$$self{'tags'};}
188 0 0 unless open INDEX_FILE, '>' . $index_temp_file_name
214 0 0 if ($self->{'move_from_temp_action'}) { }
218 0 0 unless File::Copy::move($temp_file_name, $public_file_name)
226 0 0 unless defined $self->{'tags'}{$tag}
250 0 0 $self->{'temp_dir'} ? :
262 0 0 unless $self->{'tags'}{$tag}{'file'} = 'IO::Compress::Gzip'->new($temp_file->filename)
284 0 0 $self->{'mobile'} ? :
0 0 $self->{'images'} ? :
0 0 $self->{'namespace'} ? :
294 0 0 unless (exists $self->{'tags'}{$tag})