Condition Coverage

blib/lib/Number/Phone/UK.pm
Criterion Covered Total %
condition 12 15 80.0


and 3 conditions

line !l l&&!r l&&r condition
143 104 67 8 $cleaned_number =~ /^([27]|11)/ and length $cleaned_number != 10
167 6 0 165 $cache->{$number}{'format'} and $cache->{$number}{'format'} =~ /\+/
417 0 16 9 $self->subscriber and $self->subscriber =~ /^7/
2 14 0 $self->is_allocated && $cache->{$self}{'format'}

or 3 conditions

line l !l&&r !l&&!r condition
136 7 10 185 length $cleaned_number < 7 or length $cleaned_number > 10