Condition Coverage

blib/lib/Mojo/Log/Che.pm
Criterion Covered Total %
condition 12 22 54.5


and 3 conditions

line !l l&&!r l&&r condition
127 0 1 0 splice @_, 0, scalar @{$self->{'context'};} and $_[0] = join(' ', @{$self->{'context'};}, $_[0])
129 3 0 27 $trace and @$trace
147 0 0 6 &Scalar::Util::blessed($self) and $self->isa('Mojo::Log::Che')

or 2 conditions

line l !l condition
87 30 0 $level //= ''
97 27 0 shift() // 1

or 3 conditions

line l !l&&r !l&&!r condition
55 2 4 0 $path_level || "$level.log"
76 10 20 0 $handle ||= $self->handle
117 6 24 0 not $LEVEL{$level} or $self->is_level($level)