Branch Coverage

blib/lib/Imager/IMBarcode/JP.pm
Criterion Covered Total %
branch 18 18 100.0


line true false branch
153 2 26 unless exists $v->{'check'}
155 10 16 if ref $val eq "ARRAY"
156 14 2 if $val != $check
172 1 3 unless ($self->zipcode =~ /^\d{7}$/)
175 1 2 unless ($self->address =~ /^[-0-9A-Z]*$/i)
193 6 1 if (ref $check eq 'ARRAY') { }
200 1 11 if @bars >= 21
207 1 6 if @bars >= 21
243 60 74 $num =~ /^[12]$/ ? :