Condition Coverage

blib/lib/App/Cme/Command/run.pm
Criterion Covered Total %
condition 21 36 58.3


and 3 conditions

line !l l&&!r l&&r condition
270 0 1 0 $data->{'default'} and ref $data->{'default'} ne "HASH"
339 10 0 0 $commit_msg and not $opt->{'no_commit'}
376 10 0 0 $commit_msg and not $opt->{'no_commit'}

or 2 conditions

line l !l condition
223 13 0 delete $data->{'var'} // []
271 0 0 ref $data->{'default'} // "scalar"
395 5 2 $res // ""

or 3 conditions

line l !l&&r !l&&!r condition
79 0 0 15 $opt->{'list'} or not $script_name
119 3 6 5 $user_args->{$1} // $script_var->{$1}
7 0 4 ($user_args->{$1} // $script_var->{$1}) // $ENV{$1}
0 1 3 (($user_args->{$1} // $script_var->{$1}) // $ENV{$1}) // $default->{$1}
1 3 0 ((($user_args->{$1} // $script_var->{$1}) // $ENV{$1}) // $default->{$1}) // "\$" . $1
309 0 1 14 $content =~ /^#!/u or $content =~ /^use/mu
393 3 2 2 $h->{$key} // $default->{$key}