Branch Coverage

blib/lib/lib/gitroot.pm
Criterion Covered Total %
branch 17 18 94.4


line true false branch
21 8 15 /^:(.*)$/u ? :
22 6 3 if defined $args{'lib'}
25 1 8 if defined $args{'use_base_dir'}
27 9 0 if ($args{'set_root'})
29 3 6 if (defined $_GIT_ROOT) { }
30 2 1 unless $args{'once'}
35 4 2 if defined $args{'lib'} and defined $_GIT_ROOT
54 5 11 unless $is_dir
57 12 25 if (_is_dir($gitdir))