Branch Coverage

blib/lib/Mojolicious/Plugin/ParamLogger.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
13 1 6 unless $app->mode eq 'development' or $$options{$app->mode}
16 4 2 unless ($level)
18 1 3 $app->mode eq 'production' ? :
21 1 5 unless $app->log->can($level)
24 1 4 if ref $params ne 'ARRAY'
34 0 7 unless defined $params->{$name}
36 4 3 if ($filter{$name}) { }
0 3 elsif (length $params->{$name} > 75) { }
45 0 7 if index($path, '/') != 0
49 0 7 if ($@)