Branch Coverage

blib/lib/Log/Tiny.pm
Criterion Covered Total %
branch 14 22 63.6


line true false branch
41 1 0 if ($t eq "Log::Tiny::AUTOLOAD")
82 0 3 unless open my $logfh, ">>" . $logfile
150 0 3 if ($_[0])
164 0 6 if $op eq "%"
165 0 6 unless defined $Log::Tiny::formats{$op}
186 0 17 unless defined ref $self
188 3 14 if (@{$self->{'methods_only'};})
191 2 4 if uc $method eq uc $_
193 1 2 unless $in
207 0 16 unless defined $msg
217 0 3 unless close +(shift())->{'logfh'}