Branch Coverage

blib/lib/Business/IBAN/Validator.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
27 1 143 unless (exists $$self{$iso3166a2})
32 1 142 if (length $to_check != $$iban_info{'iban_length'})
44 1 141 unless ($to_check =~ /$$iban_info{'iban_structure'}/)
55 1 140 if (mod97(numify_iban($to_check)) != 1)
68 0 140 unless (exists $$self{$iso3166a2})
80 1 1 unless (exists $$self{uc $cc})