Condition Coverage

blib/lib/Geo/UK/Postcode.pm
Criterion Covered Total %
condition 20 20 100.0


or 2 conditions

line l !l condition
173 143 471 $_[0]->subdistrict || ''
177 657 54 $_[0]->sector // ''
595 116 $_[0]->unit || ''
291 10 1 $_[0]->incode || ''
7 4 $_[1]->incode || ''
5 11 $_[0]->subdistrict || ''
4 12 $_[1]->subdistrict || ''

or 3 conditions

line l !l&&r !l&&!r condition
291 85 14 16 $_[0]->area cmp $_[1]->area or $_[0]->district <=> $_[1]->district
99 5 11 $_[0]->area cmp $_[1]->area or $_[0]->district <=> $_[1]->district or ($_[0]->subdistrict || '') cmp ($_[1]->subdistrict || '')