Branch Coverage

blib/lib/No/OrgNr.pm
Criterion Covered Total %
branch 18 18 100.0


line true false branch
20 2 7 unless my $domain = shift()
22 3 4 unless ($domain =~ / [.] no \z /ux)
42 8 6 unless (orgnr_ok($orgnr))
51 2 4 unless (defined $norid_handle)
67 6 30 unless my $orgnr = shift()
72 16 14 unless ($orgnr =~ /\A [89] \d{8} \z/ax)
84 1 13 $rem == 0 ? :
87 1 13 if ($control_digit == 10)
91 1 12 if ($control_digit != $d[8])