Branch Coverage

blib/lib/Mojolicious/Plugin/Export/Git.pm
Criterion Covered Total %
branch 20 30 66.6


line true false branch
82 1 9 unless (-e $repo_root->child('.git'))
91 1 8 unless ($current_branch)
94 1 7 if (not _git_has_branch($git, $opt->{'branch'})) { }
98 0 1 unless $opt->{'quiet'}
105 0 7 unless $opt->{'quiet'}
110 2 6 if ($opt->{'clean'})
111 1 1 if ($current_branch eq $opt->{'branch'})
115 0 1 unless $opt->{'quiet'}
144 5 2 if (@files) { }
146 0 5 unless $opt->{'quiet'}
151 0 2 unless $opt->{'quiet'}
154 7 0 if (_git_has_remote($git, $opt->{'remote'})) { }
159 0 0 unless $opt->{'quiet'}
183 0 101 if ($exit)
209 0 1 unless $git_version