Branch Coverage

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


line true false branch
109 4 109 unless my $parsed = 'Geo::UK::Postcode::Regex'->parse($pc, {'partial', 1})
133 221 28 $_[0]->incode ? :
219 41 32 $_[0]->components->{'valid'} ? :
223 13 60 $_[0]->components->{'partial'} ? :
227 60 13 $_[0]->components->{'strict'} ? :
245 18 55 $_[0]->components->{'non_geographical'} ? :
260 6 67 $_[0]->outcode eq 'BF1' ? :
291 11 19 unless $_[0]->area cmp $_[1]->area or $_[0]->district <=> $_[1]->district or ($_[0]->subdistrict || '') cmp ($_[1]->subdistrict || '')