blib/lib/Data/Validate/Chemistry.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 4 | 6 | 66.6 |
line | true | false | branch |
---|---|---|---|
19 | 2 | 4 | unless $CAS_number =~ /^[0-9]{2,7}-[0-9]{2}-[0-9]$/ |
31 | 0 | 1 | unless $EC_number =~ /^([0-9]{3}-){2}[0-9]$/ |
36 | 0 | 1 | if ($digits[0] == 4 and $checksum == 1) { } |