blib/lib/Number/Phone/UK.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 18 | 83.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
143 | 104 | 67 | 8 | $cleaned_number =~ /^([27]|11)/ and length $cleaned_number != 10 |
153 | 6 | 55 | 110 | $telco_and_length_code and Number::Phone::UK::Data::db()->{'telco_format'}{$telco_and_length_code}{'telco'} |
166 | 6 | 0 | 165 | $cache->{$number}{'format'} and $cache->{$number}{'format'} =~ /\+/ |
412 | 0 | 16 | 9 | $self->subscriber and $self->subscriber =~ /^7/ |
2 | 14 | 0 | $self->is_allocated && $cache->{$self}{'format'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
136 | 7 | 10 | 185 | length $cleaned_number < 7 or length $cleaned_number > 10 |