Branch Coverage

blib/lib/Test/Git.pm
Criterion Covered Total %
branch 9 20 45.0


line true false branch
22 0 0 $version ? :
26 0 0 unless Git::Repository::Command::_is_git('git')
31 0 0 if $version and 'Git::Repository'->version_lt($version, @options)
40 0 11 if exists $args{'init'} and exists $args{'clone'}
52 2 11 if ($clone) { }
0 11 elsif (&cmp_git($git_version, '1.4.0') <= 0) { }
53 0 2 if (&cmp_git($git_version, '1.6.2.rc0') < 0 or &cmp_git('1.7.0.rc1', $git_version) <= 0 and &cmp_git($git_version, '1.7.0.2') <= 0)
65 0 13 if $bad_version
72 0 13 'Git::Repository'->version_lt('1.5.0.rc1') ? :
73 2 11 $clone ? :