Branch Coverage

blib/lib/Log/Fine/Handle/File/Timestamp.pm
Criterion Covered Total %
branch 7 10 70.0


line true false branch
67 1 2 if (defined $self->{'_filehandle'} and ref $self->{'_filehandle'} and UNIVERSAL::can($self->{'_filehandle'}, 'isa') and $self->{'_filehandle'}->isa('IO::File') and defined fileno $self->{'_filehandle'}) { }
75 1 0 if $self->{'_filename'} ne $filename
104 0 3 unless defined $filename and $filename =~ /\w/
108 1 2 if ($doclose)
110 0 1 unless $self->{'_filehandle'}->close