blib/lib/Log/Fine/Formatter/Template.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 42 | 38.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
208 | 0 | 0 | 15 | defined $self->{'template'} and $self->{'template'} =~ /\w/ |
213 | 15 | 0 | 0 | defined $self->{'use_effective_id'} and $self->{'use_effective_id'} =~ /\d/ |
240 | 14 | 0 | 0 | defined $self->{'_fileName'} and $self->{'_fileName'} =~ /\w/ |
256 | 14 | 0 | 0 | defined $self->{'_groupName'} and $self->{'_groupName'} =~ /\w/ |
295 | 14 | 0 | 0 | defined $self->{'_fullHost'} and $self->{'_fullHost'} =~ /\w/ |
312 | 14 | 0 | 0 | defined $self->{'_placeHolders'} and ref $self->{'_placeHolders'} eq 'HASH' |
415 | 14 | 0 | 0 | defined $self->{'_userName'} and $self->{'_userName'} =~ /\w/ |
line | l | !l | condition |
---|---|---|---|
265 | 14 | 0 | getgrgid((split(' ', $), 0))[0]) || 'nogroup' |
275 | 0 | 0 | getgrgid((split(' ', $(, 0))[0]) || 'nogroup' |
295 | 14 | 0 | hostname() || '{undef}' |
324 | 3 | 0 | (caller $skip)[0] || '{undef}' |
331 | 6 | 0 | (caller $skip)[2] || 0 |
336 | 4 | 2 | (caller ++$skip)[3] || 'main' |
420 | 0 | 0 | $ENV{'EUID'} || 0 |
14 | 0 | getpwuid $> || 'nobody' | |
423 | 0 | 0 | getlogin || getpwuid $< || 'nobody' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
172 | 7 | 14 | 0 | $self->{'_placeHolders'} || $self->_placeHolders($tmpl) |