blib/lib/Geo/UK/Postcode.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 20 | 60.0 |
line | l | !l | condition |
---|---|---|---|
162 | 72 | 296 | $_[0]->subdistrict || '' |
166 | 380 | 0 | $_[0]->sector // '' |
380 | 0 | $_[0]->unit || '' | |
275 | 6 | 0 | $_[0]->incode || '' |
6 | 0 | $_[1]->incode || '' | |
0 | 6 | $_[0]->subdistrict || '' | |
0 | 6 | $_[1]->subdistrict || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
275 | 0 | 2 | 6 | $_[0]->area cmp $_[1]->area or $_[0]->district <=> $_[1]->district |
2 | 0 | 6 | $_[0]->area cmp $_[1]->area or $_[0]->district <=> $_[1]->district or ($_[0]->subdistrict || '') cmp ($_[1]->subdistrict || '') |