blib/lib/Data/ESN.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 16 | 100.0 |
line | true | false | branch |
---|---|---|---|
76 | 1 | 2 | unless (esn_is_dec($esn)) |
102 | 1 | 1 | unless (esn_is_hex($esn)) |
129 | 1 | 2 | if esn_is_hex($esn) |
130 | 1 | 1 | if esn_is_dec($esn) |
147 | 3 | 6 | if (defined $esn and $esn =~ /^[0-9a-f]{8}$/i) { } |
167 | 6 | 5 | if (defined $esn and $esn =~ /^[0-9]{11}$/) { } |
173 | 1 | 5 | if $manufacturer > 255 |
176 | 1 | 4 | if $device > 16777215 |