Branch Coverage

blib/lib/Business/BR/CNPJ.pm
Criterion Covered Total %
branch 13 18 72.2


line true false branch
33 0 204 if length $cnpj != 14
37 2 23 unless ($s1 == 0 or $s1 == 1 and $cnpj[12] == 0)
40 102 100 $s2 == 0 || $s2 == 1 && $cnpj[13] == 0 ? :
53 0 0 if (wantarray)
69 200 0 @_ ? :
70 100 100 $valid ? :
74 0 200 if wantarray
86 100 100 @_ ? :
88 193 7 rand() < 0.95 ? :