| blib/lib/Module/Setup/Plugin/VC/Git.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 10 | 100.0 |
| line | true | false | branch |
|---|---|---|---|
| 14 | 2 | 5 | unless $self->dialog('Git init? [Yn] ', 'y') =~ /[Yy]/ |
| 16 | 1 | 4 | if $self->system('git', 'init') |
| 17 | 1 | 3 | if $self->system('git', 'add', '.gitignore') |
| 21 | 4 | 27 | if $path eq '.' or $path eq '..' or $path eq '.git' |
| 24 | 1 | 2 | unless not $self->system('git', 'commit', '-m', 'initial commit') |