Branch Coverage

blib/lib/App/Git/Workflow/Command/Branches.pm
Criterion Covered Total %
branch 5 20 25.0


line true false branch
28 0 1 unless get_options(\%option, "remote|r", "all|a", "exclude|e=s\@", "exclude_file|exclude-file|f=s", "max|n=i", "reverse|R")
40 0 1 $option{'all'} ? :
0 1 $option{'remote'} ? :
44 0 1 if ($option{'exclude_file'})
47 0 0 unless $exclude
48 0 0 if $exclude =~ /^\s*(?:[#].*)$/msx
57 0 0 if grep {$branch =~ /$_/;} @excludes
64 0 0 if length $_->{'name'} > $max
68 0 1 if ($option{'reverse'}) { }
76 0 0 if $option{'max'} and $count++ >= $option{'max'}