blib/lib/Geo/UK/Postcode.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 20 | 100.0 |
line | l | !l | condition |
---|---|---|---|
170 | 143 | 471 | $_[0]->subdistrict || '' |
174 | 657 | 54 | $_[0]->sector // '' |
595 | 116 | $_[0]->unit || '' | |
283 | 9 | 2 | $_[0]->incode || '' |
8 | 3 | $_[1]->incode || '' | |
2 | 14 | $_[0]->subdistrict || '' | |
7 | 9 | $_[1]->subdistrict || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
283 | 85 | 13 | 16 | $_[0]->area cmp $_[1]->area or $_[0]->district <=> $_[1]->district |
98 | 5 | 11 | $_[0]->area cmp $_[1]->area or $_[0]->district <=> $_[1]->district or ($_[0]->subdistrict || '') cmp ($_[1]->subdistrict || '') |