| lib/Git/Class/Cmd.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 5 | 10 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 18 | 12 | 0 | (shift())->_git ? : |
| 25 | 0 | 3 | if $file and -f $file |
| 31 | 0 | 9 | if path($path, 'git')->is_file or path($path, 'git.cmd')->is_file or path($path, 'git.exe')->is_file |
| 41 | 0 | 10 | unless ($self->is_available) |
| 55 | 10 | 0 | $cmd ? : |