blib/lib/Git/CPAN/Hook.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 18 | 27.7 |
line | true | false | branch |
---|---|---|---|
46 | 0 | 2 | unless eval { do { $r->run('add', '.'); 1 } } |
49 | 0 | 2 | $r->version_lt('1.7.0') ? : |
0 | 2 | if $r->version_lt('1.7.0') ? !($r->run('status') =~ /^nothing to commit/m) : $r->run('status', '--porcelain') | |
69 | 2 | 0 | @_ ? : |
83 | 0 | 2 | unless open my $fh, '>>', $ignore |
123 | 0 | 0 | unless ($$dist{'install'}{'FAILED'}) |
137 | 0 | 0 | $nv =~ /^CODE/ ? : |
151 | 0 | 0 | unless $r |
154 | 0 | 0 | if $r->run('config', '--bool', 'cpan-hook.active') ne 'true' |