Branch Coverage

blib/lib/Geo/Postcodes/DK.pm
Criterion Covered Total %
branch 37 44 84.0


line true false branch
49 3 5 unless valid($postcode)
81 46 17 if $field =~ /Geo::Postcodes/
83 44 19 if $valid_fields{$field}
90 0 2 unless $self
91 0 2 unless $Geo::Postcodes::type_of{$self}
92 0 2 unless $typedesc{$Geo::Postcodes::type_of{$self}}
101 3 19 unless $postcode
102 5 14 unless $postcode =~ /^\d{3,4}$/
109 5 10 unless legal($postcode)
111 8 2 if $location{$postcode}
124 1 5399 unless $postcode
126 5399 0 if $location{$postcode}
133 1 7 unless $postcode
135 2 5 if $address{$postcode}
142 1 7 unless $postcode
144 0 7 if $owner{$postcode}
151 2 5401 unless $postcode
152 3051 2350 unless $type{$postcode}
160 1 1350 unless $postcode
163 762 588 unless $type
171 0 588 unless $type
172 0 588 unless $typedesc{$type}