blib/lib/Log/Log4perl/Appender/File.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 33 | 60.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
46 | 48 | 0 | 50 | defined $self->{$param} and $self->{$param} =~ /^0/ |
83 | 40 | 7 | 2 | $self->{'syswrite'} and $self->{'utf8'} |
128 | 29 | 27 | 2 | $didnt_exist and $self->{'mkpath'} |
130 | 0 | 0 | 2 | $path ne "" and not -e $path |
158 | 29 | 29 | 0 | $didnt_exist and defined $self->{'owner'} || defined $self->{'group'} |
183 | 0 | 11 | 47 | $self->{'autoflush'} and not $self->{'syswrite'} |
342 | 0 | 0 | 0 | $self->{'mode'} eq "pipe" and $!{'ECHILD'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
158 | 0 | 0 | 29 | defined $self->{'owner'} || defined $self->{'group'} |
255 | 0 | 0 | 0 | $uid != $uid_org or $gid != $gid_org |
286 | 1 | 3 | 5 | not $self->{'watcher'} or $self->{'watcher'}{'signal_caught'} |
292 | 1 | 5 | 5 | not $self->{'watcher'} or $self->{'watcher'}->file_has_moved |