Branch Coverage

blib/lib/Geo/GoogleEarth/Pluggable/Plugin/AsGeoJSON.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
118 1 2 unless my $json = delete $data{'json'}
121 0 2 if $error
122 0 2 unless ref $decode eq "HASH"
123 0 2 unless my $type = $decode->{'type'}
124 0 2 unless my $coordinates = $decode->{'coordinates'}
125 0 2 unless ref $coordinates eq "ARRAY"
128 1 1 if ($type eq 'Point') { }
0 1 elsif ($type eq 'LineString') { }
0 1 elsif ($type eq 'Polygon') { }
0 1 elsif ($type eq 'MultiPolygon') { }
131 0 1 if defined $coordinates->[2]