Condition Coverage

blib/lib/Mojolicious/Command/replget.pm
Criterion Covered Total %
condition 0 29 0.0


and 2 conditions

line l !l condition
38 0 0 $self->usage and next
77 0 0 _json($buffer, $selector) and next
107 0 0 $results = $results->slice($command) and next

and 3 conditions

line !l l&&!r l&&r condition
62 0 0 0 $redirect and $tx->res->is_redirect
94 0 0 0 length $_ and say encode('UTF-8', $_)

or 2 conditions

line l !l condition
116 0 0 $args[0] // ''

or 3 conditions

line l !l&&r !l&&!r condition
77 0 0 0 not length $selector or $selector =~ m[^/]
80 0 0 0 $res->content->charset || $res->default_charset
0 0 0 $charset //= $res->content->charset || $res->default_charset
90 0 0 0 ref $data eq 'HASH' or ref $data eq 'ARRAY'
100 0 0 0 decode($charset, $buffer) // $buffer