Condition Coverage

blib/lib/App/GHGen/Analyzer.pm
Criterion Covered Total %
condition 8 28 28.5


and 3 conditions

line !l l&&!r l&&r condition
40 0 0 0 $workflows_dir->exists and $workflows_dir->is_dir
186 1 1 0 $step->{'uses'} and $step->{'uses'} =~ m[actions/cache]u
213 0 0 1 ref $on eq "HASH" and $on->{'push'}
219 0 0 0 ref $on eq "ARRAY" and grep {$_ eq "push";} @$on
296 0 0 0 $step->{'uses'} and $step->{'uses'} =~ /deploy|publish|release/iu
297 0 0 0 $step->{'run'} and $step->{'run'} =~ /git push|npm publish/u

or 2 conditions

line l !l condition
173 0 1 $cache_configs{$detected_type} // "Add caching based on your dependency manager:\n See: https://docs.github.com/en/actions/using-workflows/caching-dependencies"
242 1 1 $step->{'run'} // ""

or 3 conditions

line l !l&&r !l&&!r condition
215 0 0 1 $push->{'paths'} || $push->{'branches'}
0 1 0 ref $push eq "" or not $push->{'paths'} || $push->{'branches'}