Branch Coverage

lib/App/gh/Utils.pm
Criterion Covered Total %
branch 11 84 13.1


line true false branch
52 0 0 if $$ret{'parent'}
54 0 0 if $$ret{'private'}
55 0 0 if $$ret{'has_downloads'}
56 0 0 if $$ret{'has_issues'}
64 0 0 if length $$_[0] > $column_w
74 0 0 if ($ENV{'WRAP'} and $column_w + 3 + length(join ' ', @$arg) > $screen_width) { }
94 0 0 if ($c =~ /[ \,]/ and $firstline and $cnt > $screen_width) { }
0 0 elsif ($c =~ /[ \,]/ and not $firstline and $cnt > $screen_width - $column_w) { }
107 0 0 if $wrapped
115 0 0 unless $$arg[0]
165 0 0 if ref $_[0] ne 'HASH'
166 0 0 if ref $_[0] eq 'HASH'
168 0 0 if $remote
169 0 0 if $$options{'all'}
170 0 0 if $$options{'multiple'}
171 0 0 if $$options{'tags'}
172 0 0 if $$options{'quiet'}
173 0 0 if $$options{'verbose'}
174 0 0 if $$options{'submodules'}
182 2 0 unless ref $subcommand
185 2 0 if ref $_[0] eq 'HASH'
190 0 2 if $$options{'verbose'}
191 2 0 if $subcommand
194 1 1 if ($subcommand =~ /update/) { }
1 0 elsif ($subcommand =~ /prune/) { }
195 0 1 if $$options{'prune'}
198 0 1 if $$options{'dry_run'}
200 1 1 if @args
213 0 0 if $$options{'bare'}
214 0 0 if $$options{'branch'}
215 0 0 if $$options{'quiet'}
216 0 0 if $$options{'mirror'}
217 0 0 if $$options{'recursive'}
218 0 0 if $$options{'origin'}
219 0 0 if $$options{'verbose'}
238 0 0 if 'App::gh'->config->github_id eq $user
241 0 0 if ($$options{'protocol_git'}) { }
0 0 elsif ($$options{'protocol_ssh'} or $options->is_mine($user, $repo)) { }
0 0 elsif ($$options{'protocol_http'}) { }
0 0 elsif ($$options{'protocol_https'}) { }
269 0 0 if ($a =~ /n/)
272 0 0 if $a =~ /y/