line |
true |
false |
branch |
343
|
0 |
3 |
$^O =~ /mswin/i ? : |
389
|
0 |
1 |
unless defined $level |
395
|
0 |
1 |
unless defined $file and length $file |
396
|
1 |
0 |
if $file and not 'File::Spec'->file_name_is_absolute($file) |
416
|
0 |
1 |
if ($usesyslog) { } |
419
|
0 |
0 |
if ($socketopts and ref $socketopts eq 'ARRAY') { } |
|
0 |
0 |
elsif ($socketopts and !ref($socketopts) || ref $socketopts eq 'HASH') { } |
443
|
0 |
1 |
unless (defined $fh) |
447
|
1 |
0 |
if $self->{'utf8'} |
461
|
4 |
0 |
$self->{'status'} ? : |
468
|
0 |
2 |
unless $self->status |
471
|
0 |
2 |
unless (defined $level) |
475
|
1 |
1 |
if $level < $self->{'level'} |
478
|
0 |
1 |
if ($self->{'usesyslog'}) { } |
508
|
0 |
1 |
unless defined $level |
512
|
1 |
0 |
unless ($self->{'pure'}) |
520
|
1 |
0 |
if defined $ident and length $ident |
524
|
1 |
0 |
if (defined $fh) { } |
526
|
1 |
0 |
if @buffer |
545
|
0 |
0 |
unless defined $level |
559
|
0 |
3 |
unless defined $ll |
563
|
3 |
0 |
if ($ll =~ /^[0-9]+$/ and exists $rlevels{$ll}) { } |
|
0 |
0 |
elsif ($ll =~ /^[a-z]+$/i and exists $levels{lc $ll}) { } |
564
|
3 |
0 |
if $ll >= 0 and $ll <= 9 |
578
|
0 |
1 |
unless $self and $self->status |
579
|
0 |
1 |
if ($self->{'usesyslog'}) { } |
582
|
1 |
0 |
if defined $self->{'fh'} and ref $self->{'fh'} |