Branch Coverage

blib/lib/App/AYCABTU.pm
Criterion Covered Total %
branch 0 92 0.0


line true false branch
28 0 0 @_ ? :
34 0 0 unless (@{$self->repos;} or @{$self->names;})
40 0 0 unless $self->can($method)
47 0 0 $self->quiet ? :
0 0 $self->verbose ? :
0 0 $error ? :
52 0 0 if $msg
55 0 0 if (@{$self->names;})
73 0 0 unless my $tags = $_[1]
84 0 0 -d $_ ? :
0 0 /^(\d+)$/ ? :
0 0 /^(\d+)-(\d+)?$/ ? :
96 0 0 if not -e $self->file || @{[glob($self->file . '*')];}
118 0 0 if ref $config ne 'ARRAY' or grep {ref $_ ne 'HASH';} @$config
122 0 0 unless my $repo = $$entry{'repo'}
128 0 0 if (not $$entry{'name'} and $repo =~ m[.*/(.*).git$])
136 0 0 $repo =~ /svn/ ? :
0 0 $repo =~ /\.git$/ ? :
144 0 0 $tags ? :
153 0 0 unless $$subst{$_}
171 0 0 if $last
172 0 0 if $$entry{'skip'}
173 0 0 if $$entry{'last'}
175 0 0 if ($self->all)
180 0 0 if (@$names)
181 0 0 unless $_ eq $name
0 0 if (grep {$_ eq $num unless $_ eq $name;} @$names)
188 0 0 if ($tags)
193 0 0 if ($count == @$tags)
205 0 0 unless $self->_check('update', $entry)
214 0 0 unless $self->_check('check status', $entry)
235 0 0 if ($show =~ /^(nums?|numbers?)$/) { }
0 0 elsif ($show =~ /^names?$/) { }
0 0 elsif ($show =~ /^tags?$/) { }
260 0 0 unless ($name)
264 0 0 unless ($type)
268 0 0 if ($type ne 'git')
279 0 0 if (not -d $name) { }
0 0 elsif (-d "$name/.git") { }
282 0 0 if ($e =~ /\S/) { }
292 0 0 if ($o eq "Already up-to-date.\n") { }
0 0 elsif ($e) { }
313 0 0 if (not -d $name) { }
0 0 elsif (-d "$name/.git") { }
318 0 0 if ($o =~ /^nothing to commit/m and not $e) { }
321 0 0 if ($o =~ /Your branch is ahead .* by (\d+) /) { }