Condition Coverage

blib/lib/Mojolicious/Command/get.pm
Criterion Covered Total %
condition 10 27 37.0


and 2 conditions

line l !l condition
98 0 2 length $_ and say encode("UTF-8", $_)
111 0 1 $results = c($results->[$command]) and next

and 3 conditions

line !l l&&!r l&&r condition
22 0 0 4 !-t(STDIN) && select($r, undef, undef, 0)
65 3 0 0 $redirect and $tx->res->is_redirect

or 2 conditions

line l !l condition
120 0 0 $args[0] // ""

or 3 conditions

line l !l&&r !l&&!r condition
81 0 1 1 not length $selector or $selector =~ m[^/]u
84 1 0 0 $res->content->charset || $res->default_charset
0 1 0 $charset //= $res->content->charset || $res->default_charset
95 0 0 1 ref $data eq 'HASH' || ref $data eq 'ARRAY'
104 1 0 0 decode($charset, $buffer) // $buffer