Branch Coverage

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


line true false branch
106 4 109 unless my $parsed = 'Geo::UK::Postcode::Regex'->parse($pc, {'partial', 1})
130 221 28 $_[0]->incode ? :
216 41 32 $_[0]->components->{'valid'} ? :
220 13 60 $_[0]->components->{'partial'} ? :
224 60 13 $_[0]->components->{'strict'} ? :
242 18 55 $_[0]->components->{'non_geographical'} ? :
257 6 67 $_[0]->outcode eq 'BF1' ? :
283 11 18 unless $_[0]->area cmp $_[1]->area or $_[0]->district <=> $_[1]->district or ($_[0]->subdistrict || '') cmp ($_[1]->subdistrict || '')