Branch Coverage

blib/lib/Sendmail/Queue/Df.pm
Criterion Covered Total %
branch 22 36 61.1


line true false branch
64 5 0 unless $args
92 0 1 if (ref $target and blessed $target eq 'Sendmail::Queue::Df')
96 0 1 unless (-f $target_path)
100 0 1 unless ($self->get_data_filename)
104 0 1 unless (link $target_path, $self->get_data_filename)
126 0 16 unless ($self->get_queue_directory)
130 2 14 unless ($self->get_queue_id)
161 1 2 if ($$self{'hardlinked'})
165 0 2 unless ($self->get_queue_directory)
169 0 2 unless ($self->get_queue_id)
175 0 2 if (-e $filepath)
182 0 2 unless ($fh)
186 0 2 unless ($fh->print($self->get_data))
190 0 2 unless ($fh->flush)
194 0 2 unless ($fh->sync)
198 0 2 unless ($fh->close)
219 1 2 unless ($self->get_data_filename)
224 1 1 if (1 != CORE::unlink($self->get_data_filename))