blib/lib/URI/tel.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 42 | 42.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
257 | 38 | 0 | 4 | $str =~ /[a-zA-Z]+/ and $self->is_vanity |
373 | 0 | 0 | 0 | $err and length $err |
397 | 0 | 21 | 0 | length $val and not $val =~ /^[$PHONEDIGIT]+$/ |
435 | 0 | 0 | 0 | length $val and not $val =~ /^$URIC$/ |
506 | 0 | 0 | 0 | length $val and not $val =~ /^$TEL_SUBSCRIBER$/ |
530 | 0 | 0 | 0 | ref $other and $other->isa('URI::tel') |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
109 | 42 | 269 | 0 | ref $this || $this |
182 | 5 | 31 | 275 | $temp->{'type'} eq 'local' || $temp->{'type'} eq 'other' |
214 | 10 | 2 | 299 | length $hash->{'ext'} or $self->{'is_vanity'} |
230 | 15 | 0 | 1 | $self->{'subscriber'} =~ /^\+\d+/ || $self->{'context'} =~ /[a-zA-Z]+/ |
254 | 0 | 40 | 2 | shift @_ || $self->{'subscriber'} |
372 | 0 | 0 | 0 | ref $self || $self |
386 | 0 | 0 | 0 | $hash->{'error'} || $ERROR |
587 | 502 | 2 | 414 | $in or /^\#{2} BEGIN DATA/ |