| blib/lib/lib/gitroot.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 22 | 24 | 91.6 | 
| line | true | false | branch | 
|---|---|---|---|
| 22 | 8 | 15 | /^:(.*)$/u ? : | 
| 23 | 6 | 3 | if defined $args{'lib'} | 
| 26 | 1 | 8 | if defined $args{'use_base_dir'} | 
| 28 | 9 | 0 | if ($args{'set_root'}) | 
| 30 | 3 | 6 | if (defined $_GIT_ROOT) { } | 
| 31 | 2 | 1 | unless $args{'once'} | 
| 35 | 4 | 2 | if defined $args{'lib'} and defined $_GIT_ROOT | 
| 50 | 0 | 4 | unless defined $filename | 
| 51 | 1 | 3 | if delete $args{'resolve_symlink'} and _is_link($filename) | 
| 52 | 2 | 2 | if %args | 
| 70 | 5 | 11 | unless $is_dir | 
| 73 | 12 | 25 | if (_is_dir($gitdir)) |