| blib/lib/App/GHGen/Analyzer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 13 | 30 | 43.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 41 | 0 | 0 | 0 | $workflows_dir->exists and $workflows_dir->is_dir |
| 202 | 3 | 4 | 1 | $step->{'uses'} and $step->{'uses'} =~ m[actions/cache]u |
| 229 | 0 | 0 | 4 | ref $on eq "HASH" and $on->{'push'} |
| 235 | 1 | 0 | 0 | ref $on eq "ARRAY" and grep {$_ eq "push";} @$on |
| 314 | 0 | 0 | 0 | $step->{'uses'} and $step->{'uses'} =~ /deploy|publish|release/iu |
| 315 | 0 | 0 | 0 | $step->{'run'} and $step->{'run'} =~ /git push|npm publish/u |
| line | l | !l | condition |
|---|---|---|---|
| 131 | 4 | 0 | $workflow->{'jobs'} // {} |
| 189 | 0 | 3 | $cache_configs{$detected_type} // "Add caching based on your dependency manager:\n See: https://docs.github.com/en/actions/using-workflows/caching-dependencies" |
| 260 | 3 | 3 | $step->{'run'} // "" |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 231 | 0 | 1 | 3 | $push->{'paths'} || $push->{'branches'} |
| 0 | 3 | 1 | ref $push eq "" or not $push->{'paths'} || $push->{'branches'} |