Condition Coverage

blib/lib/Clustericious/Client/Command.pm
Criterion Covered Total %
condition 16 72 22.2


and 3 conditions

line !l l&&!r l&&r condition
29 0 0 0 $routes and @$routes
32 0 0 0 $objects and @$objects
149 3 0 0 blessed $obj and $obj->isa('Mojo::Transaction')
3 0 0 ref $obj eq 'HASH' and keys %$obj == 1
3 0 0 ref $obj eq 'HASH' and keys %$obj == 1 and $$obj{'text'}
3 0 0 $client->tx and $client->tx->req->method eq 'POST'
3 0 0 $client->tx and $client->tx->req->method eq 'POST' and $meta->get('quiet_post')
162 0 0 0 $got and ref $got eq 'HASH'
0 0 0 keys %$got == 1 and $$got{'text'}
0 0 0 $got and ref $got eq 'HASH' and (keys %$got == 1 and $$got{'text'})
178 0 0 1 not $meta->get('dont_read_files') and @args > 0
0 1 0 not $meta->get('dont_read_files') and @args > 0 and -r $_[-1] || $_[-1] =~ /^\S+:/
1 0 0 $try_stdin and -r STDIN
1 0 0 $try_stdin and -r STDIN and @args == 0
208 1 0 0 blessed $obj and $obj->isa('Mojo::Transaction')
1 0 0 ref $obj eq 'HASH' and keys %$obj == 1
1 0 0 ref $obj eq 'HASH' and keys %$obj == 1 and $$obj{'text'}
1 0 0 $client->tx and $client->tx->req->method eq 'POST'
1 0 0 $client->tx and $client->tx->req->method eq 'POST' and $meta->get('quiet_post')
221 0 0 0 $got and ref $got eq 'HASH'
0 0 0 keys %$got == 1 and $$got{'text'}
0 0 0 $got and ref $got eq 'HASH' and (keys %$got == 1 and $$got{'text'})

or 3 conditions

line l !l&&r !l&&!r condition
101 0 0 6 not $args[0] or $args[0] =~ /help/
178 0 0 1 -r $_[-1] || $_[-1] =~ /^\S+:/