Condition Coverage

blib/lib/Log/Fine/Formatter/Template.pm
Criterion Covered Total %
condition 16 42 38.1


and 3 conditions

line !l l&&!r l&&r condition
207 0 0 15 defined $$self{'template'} and $$self{'template'} =~ /\w/
212 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/
257 14 0 0 defined $$self{'_groupName'} and $$self{'_groupName'} =~ /\w/
295 14 0 0 defined $$self{'_fullHost'} and $$self{'_fullHost'} =~ /\w/
313 14 0 0 defined $$self{'_placeHolders'} and ref $$self{'_placeHolders'} eq 'HASH'
429 14 0 0 defined $$self{'_userName'} and $$self{'_userName'} =~ /\w/

or 2 conditions

line l !l condition
266 14 0 getgrgid((split(' ', $), 0))[0]) || 'nogroup'
276 0 0 getgrgid((split(' ', $(, 0))[0]) || 'nogroup'
295 14 0 hostname() || '{undef}'
325 3 0 (caller $skip)[0] || '{undef}'
333 6 0 (caller $skip)[2] || 0
338 4 2 (caller ++$skip)[3] || 'main'
432 0 0 $ENV{'EUID'} || 0
14 0 getpwuid $> || 'nobody'
437 0 0 getlogin || getpwuid $< || 'nobody'

or 3 conditions

line l !l&&r !l&&!r condition
173 7 14 0 $$self{'_placeHolders'} || $self->_placeHolders($tmpl)