blib/lib/App/GitHooks/Plugin/ForceRegularUpdate.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 14 | 50.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
127 | 0 | 4 | 0 | defined $description and $description =~ /\w/ |
165 | 0 | 0 | 2 | defined $last_update && $last_update =~ /^\d+$/ |
line | l | !l | condition |
---|---|---|---|
138 | 4 | 0 | $ENV{$env_variable} // '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
165 | 0 | 1 | 1 | not defined $last_update && $last_update =~ /^\d+$/ or $last_update < time - $max_update_age |
1 | 0 | 1 | not defined $last_update && $last_update =~ /^\d+$/ or $last_update < time - $max_update_age or $last_update > time + 10 |