Condition Coverage

File:blib/lib/App/GHGen/Analyzer.pm
Coverage:43.3%

line%coveragecondition
410
ABdec
0X0
100
111
$workflows_dir->exists and $workflows_dir->is_dir
13150
Adec
00
11
$workflow->{'jobs'} // {}
18950
Adec
00
11
$cache_configs{$detected_type} // "Add caching based on your dependency manager:\n       See: https://docs.github.com/en/actions/using-workflows/caching-dependencies"
202100
ABdec
0X0
100
111
$step->{'uses'} and $step->{'uses'} =~ m[actions/cache]u
22933
ABdec
0X0
100
111
ref $on eq "HASH" and $on->{'push'}
23167
ABdec
000
011
1X1
ref $push eq "" or not $push->{'paths'} || $push->{'branches'}
67
ABdec
000
011
1X1
$push->{'paths'} || $push->{'branches'}
23533
ABdec
0X0
100
111
ref $on eq "ARRAY" and grep {$_ eq "push";} @$on
260100
Adec
00
11
$step->{'run'} // ""
3140
ABdec
0X0
100
111
$step->{'uses'} and $step->{'uses'} =~ /deploy|publish|release/iu
3150
ABdec
0X0
100
111
$step->{'run'} and $step->{'run'} =~ /git push|npm publish/u