Condition Coverage

lib/CatalystX/Eta/Controller/AutoResultDELETE.pm
Criterion Covered Total %
condition 1 21 4.7


and 3 conditions

line !l l&&!r l&&r condition
26 1 0 0 $do_detach == 1 and exists $config->{'object_key'}
0 0 0 $do_detach == 1 and exists $config->{'object_key'} and $c->stash->{$config->{'object_key'}}
0 0 0 $do_detach == 1 and exists $config->{'object_key'} and $c->stash->{$config->{'object_key'}} and $c->stash->{$config->{'object_key'}}->can('id') || $c->stash->{$config->{'object_key'}}->can('user_id') || $c->stash->{$config->{'object_key'}}->can('created_by')
35 0 0 0 $obj->can('created_by') && defined $obj->created_by
0 0 0 $obj->can('user_id') && defined $obj->user_id
0 0 0 $obj->can('roles') && $obj->can('id')

or 3 conditions

line l !l&&r !l&&!r condition
26 0 0 0 $c->stash->{$config->{'object_key'}}->can('id') || $c->stash->{$config->{'object_key'}}->can('user_id') || $c->stash->{$config->{'object_key'}}->can('created_by')