| blib/lib/App/GHGen/Analyzer.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 8 | 28 | 28.5 |
| 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 |
| 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'} // "" |
| 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'} |