Condition Coverage

blib/lib/Log/Fine/Handle/File/Timestamp.pm
Criterion Covered Total %
condition 10 20 50.0


and 3 conditions

line !l l&&!r l&&r condition
67 2 0 1 defined $self->{'_filehandle'} and ref $self->{'_filehandle'}
2 0 1 defined $self->{'_filehandle'} and ref $self->{'_filehandle'} and UNIVERSAL::can($self->{'_filehandle'}, 'isa')
0 0 1 defined $self->{'_filehandle'} and ref $self->{'_filehandle'} and UNIVERSAL::can($self->{'_filehandle'}, 'isa') and $self->{'_filehandle'}->isa('IO::File')
0 0 1 defined $self->{'_filehandle'} and ref $self->{'_filehandle'} and UNIVERSAL::can($self->{'_filehandle'}, 'isa') and $self->{'_filehandle'}->isa('IO::File') and defined fileno $self->{'_filehandle'}
104 0 0 3 defined $filename and $filename =~ /\w/

or 2 conditions

line l !l condition
101 1 2 shift() || undef

or 3 conditions

line l !l&&r !l&&!r condition
113 3 0 0 'FileHandle'->new('>> ' . $filename) || $self->error("Unable to open log file $filename : $!\n")