Branch Coverage

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


line true false branch
146 100 9301 if ($line_raw =~ /^\#/u)
150 138 9163 if ($line_raw =~ /^\:CHOICES\:/u)
151 2 136 if ($data{'choices'}) { }
158 15 9148 unless $line =~ /\w/u
160 8795 353 $1 ? :
162 127 9021 if ($data{'ballots'}{$line}) { }
169 2 42754 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 16 3 if ($format eq 'json') { }
3 0 elsif ($format eq 'yaml') { }