Branch Coverage

blib/lib/Log/Log4perl/Config/Watch.pm
Criterion Covered Total %
branch 23 28 82.1


line true false branch
27 10 19 if ($self->{'signal'}) { }
38 1 3 if $old_sig_handler and ref $old_sig_handler eq "CODE"
42 2 8 if $self->{'l4p_internal'}
60 1 4 if ($self->{'l4p_internal'})
72 0 1 if $self->{'l4p_internal'}
109 4 22 unless ($stat[0])
118 1 21 if (exists $self->{'_file_inode'} and $self->{'_file_inode'} ne $current_inode)
143 0 29 unless (defined $new_timestamp)
144 0 0 if ($self->{'l4p_internal'})
153 25 4 if ($new_timestamp > $self->{'_last_timestamp'})
174 59 0 unless defined $time
176 1 58 if ($self->{'signal_caught'} or $SIGNAL_CAUGHT)
186 4 55 if (not $force and $self->{'_last_checked_at'} + $self->{'check_interval'} > $time)
198 22 33 if $self->{'l4p_internal'}