Branch Coverage

blib/lib/Number/Phone/AU.pm
Criterion Covered Total %
branch 30 30 100.0


line true false branch
57 1 53 unless defined $number
58 1 52 if ref $number
75 9 43 if (length $number == 9) { }
12 31 elsif (length $number == 10) { }
11 20 elsif ($number =~ s/^(13|18)//) { }
106 2 49 if $self->country_code == 672
107 6 43 if $self->state_code == 13
108 8 35 if $self->state_code == 18
110 16 19 unless length $self->local_number == 8
130 2 4 if ($number =~ /^00/) { }
144 3 5 if ($number =~ /^00/) { }
4 1 elsif ($number =~ /^0/) { }
161 3 16 if $self->_is_fake
172 1 18 if $self->state_code != 3 and $number =~ /^5551/
173 2 16 if $number =~ /^7010/