Branch Coverage

blib/lib/Vote/Count/ReadBallots.pm
Criterion Covered Total %
branch 19 24 79.1


line true false branch
146 116 9466 if ($line_raw =~ /^\#/u)
150 153 9313 if ($line_raw =~ /^\:CHOICES\:/u)
151 2 151 if ($data{'choices'}) { }
158 15 9298 unless $line =~ /\w/u
160 8940 358 $1 ? :
162 129 9169 if ($data{'ballots'}{$line}) { }
169 2 43042 unless ($data{'choices'}{$choice})
192 7 0 unless $D =~ /\n$/u
198 1 0 if ($format eq 'json') { }
0 0 elsif ($format eq 'yaml') { }
210 17 3 if ($format eq 'json') { }
3 0 elsif ($format eq 'yaml') { }