Branch Coverage

blib/lib/App/Git/Workflow.pm
Criterion Covered Total %
branch 53 62 85.4


line true false branch
44 2 138 unless -d $self->{'settings_dir'}
49 0 493 unless $_[0]{'git'}
55 83 1 $type eq 'both' ? :
13 84 $type eq 'remote' ? :
24 97 $type eq 'local' ? :
60 46 74 if ($contains)
71 110 10 unless $self->{'branches'}{$type}
83 4 0 unless $self->{'tags'} and @{$self->{'tags'};}
100 1 8 if ($head =~ m[ref: refs/heads/(.*)$])
107 3 7 unless $line =~ /^$head/
111 7 0 $type eq 'branch' ? :
128 13 11 defined $option{'branches'} ? :
129 1 23 $type eq 'tag' ? :
131 2 22 @commits > $option{'max_history'} ? :
138 2 6 $local ? :
8 2 $tag_or_branch eq 'branch' ? :
150 1 23 if ($option{'tag'}) { }
1 22 elsif ($option{'branch'}) { }
161 1 21 unless ($regex)
168 0 24 unless @releases
175 24 53 $options{'user'} ? :
180 13 64 $options{'files'} ? :
191 31 43 $options{'branches'} ? :
212 1 1 wantarray ? :
217 0 11 unless $file
225 0 4 if $self->{'settings'}
228 0 4 if $key
229 4 0 unless ($key)
240 2 2 -f $self->{'settings_file'} ? :
242 0 4 if ($self->{'settings'}{'version'} and "version"->new($self->{'settings'}{'version'}) > $VERSION)
251 97 10 unless $self->{'settings_file'}