Branch Coverage

blib/lib/MojoX/Logite.pm
Criterion Covered Total %
branch 15 24 62.5


line true false branch
65 0 3 if ($self->user_version)
72 0 3 if $self->cache
101 0 15 unless $level and $self->is_level($level)
104 15 0 unless utf8::is_utf8($_)
110 10 5 if $pkg eq ref $self or $pkg =~ /Mojo::Log/
121 0 15 if $self->app
134 0 2 unless $numdays =~ /^\d+$/ and $numdays >= 0
140 2 0 if ($numdays == 0) { }
167 4 1 if ($what eq 'x') { }
1 0 elsif ($what eq 'X') { }
169 2 2 if defined $self->context_stack->[-1]
174 1 0 if exists $self->context_map->{$key}