Branch Coverage

blib/lib/App/GitGot/Repo/Git.pm
Criterion Covered Total %
branch 6 10 60.0


line true false branch
42 29 2 if ($ENV{'GITGOT_FAKE_GIT_WRAPPER'}) { }
72 20 0 if $branch
75 2 0 unless $_ and $_->isa('Git::Wrapper::Exception') and $_->error eq "fatal: ref HEAD is not a symbolic ref\n"
88 15 0 if (my $branch = $self->current_branch)
94 1 0 if $_ and $_->isa('Git::Wrapper::Exception') and $_->{'status'} eq '1'