Condition Coverage

blib/lib/Mojo/Log/Che.pm
Criterion Covered Total %
condition 11 19 57.8


and 3 conditions

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

or 2 conditions

line l !l condition
76 29 0 $level //= ''
88 26 0 shift() // 1

or 3 conditions

line l !l&&r !l&&!r condition
44 2 4 0 $path_level || "$level.log"
65 9 20 0 $handle ||= $self->handle
105 6 23 0 not $LEVEL{$level} or $self->is_level($level)