Condition Coverage

blib/lib/Mojo/Log/Che.pm
Criterion Covered Total %
condition 12 19 63.1


and 3 conditions

line !l l&&!r l&&r condition
111 3 0 16 $trace and @$trace
129 0 0 6 &Scalar::Util::blessed($self) and $self->isa('Mojo::Log::Che')

or 2 conditions

line l !l condition
75 19 0 $level //= ''
87 16 0 shift() // 1

or 3 conditions

line l !l&&r !l&&!r condition
43 2 4 0 $path_level || "$level.log"
64 9 10 0 $handle ||= $self->handle
104 6 13 4 not $LEVEL{$level} or $self->is_level($level)