blib/lib/POE/XUL/Logging.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 29 | 42 | 69.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
59 | 1 | 2 | 3 | $rt and $rt eq 'HASH' |
156 | 0 | 2 | 6 | $ex->{'type'} and $ex->{'type'} ne 'REQ' |
200 | 0 | 3 | 3 | $dir and not -d $dir |
287 | 0 | 5 | 4 | 1 == @_ and 'HASH' eq ref $_[0] |
line | l | !l | condition |
---|---|---|---|
110 | 4 | 1 | $self->{'logger'} ||= \&POE::XUL::Logging::default_sub |
149 | 9 | 0 | $ex->{'type'} ||= '' |
221 | 8 | 0 | $exception->{'type'} || '' |
231 | 4 | 4 | $self->{'app'} || 'THERE-IS-NO-APP' |
289 | 4 | 0 | $ex->{'type'} ||= 'LOG' |
290 | 0 | 4 | $ex->{'caller'} ||= [caller 0] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
43 | 1 | 0 | 5 | not $rt or $rt eq 'CODE' |
1 | 3 | 2 | not $rt or $rt eq 'CODE' or $rt eq 'HASH' | |
3 | 1 | 1 | not $rt or $rt eq 'CODE' or $rt eq 'HASH' or &blessed($args) | |
130 | 4 | 1 | 0 | $lvl ||= $type2level{'LOG'} |
192 | 6 | 0 | 0 | $file ||= 'File::Spec'->catfile($self->{'log_root'}, $name) |
233 | 8 | 0 | 0 | $$self{"$app-$t-fh"} || $$self{"${t}_fh"} || $self->{'stderr_fh'} |