Branch Coverage

blib/lib/Geo/UK/Postcode.pm
Criterion Covered Total %
branch 13 16 81.2


line true false branch
93 1 71 unless $self->raw
97 1 70 unless my $parsed = 'Geo::UK::Postcode::Regex'->parse($pc, {'partial', 1})
208 33 27 $_[0]->components->{'valid'} ? :
212 0 60 $_[0]->components->{'partial'} ? :
216 51 9 $_[0]->components->{'strict'} ? :
234 18 42 $_[0]->components->{'non_geographical'} ? :
249 0 0 $_[0]->outcode eq 'BF1' ? :
275 6 2 unless $_[0]->area cmp $_[1]->area or $_[0]->district <=> $_[1]->district or ($_[0]->subdistrict || '') cmp ($_[1]->subdistrict || '')