Branch Coverage

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


line true false branch
146 114 9454 if ($line_raw =~ /^\#/u)
150 152 9302 if ($line_raw =~ /^\:CHOICES\:/u)
151 2 150 if ($data{'choices'}) { }
158 15 9287 unless $line =~ /\w/u
160 8929 358 $1 ? :
162 129 9158 if ($data{'ballots'}{$line}) { }
169 2 43020 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') { }