| blib/lib/Cogit/Util.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 12 | 75.0 |
| line | true | false | branch |
|---|---|---|---|
| 16 | 16 | 13 | unless -e $dir->subdir('objects') |
| 17 | 0 | 13 | unless -e $dir->subdir('refs') |
| 18 | 0 | 13 | unless -e $dir->file('HEAD') |
| 26 | 6 | 16 | if is_git_dir($start) |
| 30 | 7 | 9 | if -e $repodir and is_git_dir($repodir) |
| 32 | 9 | 0 | if $start->parent->absolute ne $start->absolute |