Condition Coverage

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

line%coveragecondition
8667
ABdec
0X0
100
111
$workflows_dir->exists and $workflows_dir->is_dir
26550
Adec
00
11
$workflow->{'jobs'} // {}
375100
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"
388100
ABdec
0X0
100
111
$step->{'uses'} and $step->{'uses'} =~ m[actions/cache]u
415100
ABdec
0X0
100
111
ref $on eq "HASH" and $on->{'push'}
417100
ABdec
000
011
1X1
ref $push eq "" or not $push->{'paths'} || $push->{'branches'}
100
ABdec
000
011
1X1
$push->{'paths'} || $push->{'branches'}
421100
ABdec
0X0
100
111
ref $on eq "ARRAY" and grep {$_ eq "push";} @$on
446100
Adec
00
11
$step->{'run'} // ""