Branch Coverage

lib/Rex/SCM/Git.pm
Criterion Covered Total %
branch 7 32 21.8


line true false branch
33 0 2 if $checkout_opt->{'env'}
34 2 0 unless $checkout_opt->{'clone_args'}
36 0 2 if (is_dir("$checkout_to/.git")) { }
39 0 0 $checkout_to ? :
42 0 0 $checkout_opt->{'rebase'} ? :
48 0 0 if ($? == 0) { }
57 0 0 if (exists $checkout_opt->{'tag'})
66 0 0 if ($? == 0) { }
75 0 0 unless ($? == 0)
90 2 0 $checkout_to ? :
96 0 2 unless ($? == 0)
104 0 2 if (exists $checkout_opt->{'branch'})
105 0 0 unless ($checkout_to)
120 0 0 unless ($? == 0)
128 0 2 if (exists $checkout_opt->{'tag'})
137 0 0 unless ($? == 0)