Branch Coverage

blib/lib/Geo/OSR.pm
Criterion Covered Total %
branch 24 194 12.3


line true false branch
73 0 8 if (exists $param{'WKT'}) { }
1 7 elsif (exists $param{'Text'}) { }
0 7 elsif (exists $param{'Proj4'}) { }
0 7 elsif (exists $param{'ESRI'}) { }
6 1 elsif (exists $param{'EPSG'}) { }
0 1 elsif (exists $param{'EPSGA'}) { }
0 1 elsif (exists $param{'PCI'}) { }
0 1 elsif (exists $param{'USGS'}) { }
0 1 elsif (exists $param{'XML'}) { }
0 1 elsif (exists $param{'GML'}) { }
0 1 elsif (exists $param{'URL'}) { }
0 1 elsif (exists $param{'ERMapper'}) { }
0 1 elsif (exists $param{'ERM'}) { }
0 1 elsif (exists $param{'MICoordSys'}) { }
0 1 elsif (exists $param{'MapInfoCS'}) { }
1 0 elsif (exists $param{'WGS'}) { }
107 0 1 if $@
111 7 0 if defined $self
115 8 8 unless $_[0]->isa('HASH')
117 0 8 unless defined $self
119 8 0 if (exists $OWNER{$self})
264 0 0 if defined $self
268 0 0 unless $_[0]->isa('HASH')
270 0 0 unless defined $self
272 0 0 if (exists $OWNER{$self})
533 0 0 if @_ == 1
550 0 0 unless $converters{$format}
558 0 0 if (exists $params{'Authority'} and exists $params{'TargetKey'} and exists $params{'Node'} and exists $params{'Code'}) { }
0 0 elsif (exists $params{'Node'} and exists $params{'Value'}) { }
0 0 elsif (exists $params{'AngularUnits'} and exists $params{'Value'}) { }
0 0 elsif (exists $params{'LinearUnits'} and exists $params{'Node'} and exists $params{'Value'}) { }
0 0 elsif (exists $params{'LinearUnits'} and exists $params{'Value'}) { }
0 0 elsif ($params{'Parameter'} and exists $params{'Value'}) { }
0 0 elsif (exists $params{'Name'}) { }
0 0 elsif (exists $params{'GuessFrom'}) { }
0 0 elsif (exists $params{'LOCAL_CS'}) { }
0 0 elsif (exists $params{'GeocentricCS'}) { }
0 0 elsif (exists $params{'VerticalCS'} and $params{'Datum'}) { }
0 0 elsif (exists $params{'CoordinateSystem'}) { }
0 0 elsif (exists $params{'Projection'}) { }
569 0 0 unless exists $Geo::OSR::PARAMETERS{$params{'Parameter'}}
572 0 0 $params{'Normalized'} ? :
586 0 0 if ref $params{'Parameters'}
587 0 0 if ($params{'CoordinateSystem'} eq 'State Plane' and exists $params{'Zone'}) { }
0 0 elsif ($params{'CoordinateSystem'} eq 'UTM' and exists $params{'Zone'} and exists $params{'North'}) { }
0 0 elsif ($params{'CoordinateSystem'} eq 'WGS') { }
0 0 elsif ($params{'CoordinateSystem'} and $params{'Datum'} and $params{'Spheroid'}) { }
0 0 elsif ($params{'CoordinateSystem'} and $params{'HorizontalCS'} and $params{'VerticalCS'}) { }
588 0 0 exists $params{'NAD83'} ? :
589 0 0 exists $params{'UnitName'} ? :
590 0 0 exists $params{'UnitConversionFactor'} ? :
593 0 0 exists $params{'North'} ? :
605 0 0 unless exists $Geo::OSR::PROJECTIONS{$params{'Projection'}}
607 0 0 if ref $params{'Parameters'}
608 0 0 if ($params{'Projection'} eq 'Albers_Conic_Equal_Area') { }
0 0 elsif ($params{'Projection'} eq 'Azimuthal_Equidistant') { }
0 0 elsif ($params{'Projection'} eq 'Bonne') { }
0 0 elsif ($params{'Projection'} eq 'Cylindrical_Equal_Area') { }
0 0 elsif ($params{'Projection'} eq 'Cassini_Soldner') { }
0 0 elsif ($params{'Projection'} eq 'Equidistant_Conic') { }
0 0 elsif ($params{'Projection'} eq 'Eckert_IV') { }
0 0 elsif ($params{'Projection'} eq 'Eckert_VI') { }
0 0 elsif ($params{'Projection'} eq 'Equirectangular') { }
0 0 elsif ($params{'Projection'} eq 'Gauss_Schreiber_Transverse_Mercator') { }
0 0 elsif ($params{'Projection'} eq 'Gall_Stereographic') { }
0 0 elsif ($params{'Projection'} eq 'Goode_Homolosine') { }
0 0 elsif ($params{'Projection'} eq 'Interrupted_Goode_Homolosine') { }
0 0 elsif ($params{'Projection'} eq 'Geostationary_Satellite') { }
0 0 elsif ($params{'Projection'} eq 'Gnomonic') { }
0 0 elsif ($params{'Projection'} eq 'Hotine_Oblique_Mercator') { }
0 0 elsif ($params{'Projection'} eq 'Hotine_Oblique_Mercator_Two_Point_Natural_Origin') { }
0 0 elsif ($params{'Projection'} eq 'Krovak') { }
0 0 elsif ($params{'Projection'} eq 'Lambert_Azimuthal_Equal_Area') { }
0 0 elsif ($params{'Projection'} eq 'Lambert_Conformal_Conic_2SP') { }
0 0 elsif ($params{'Projection'} eq 'Lambert_Conformal_Conic_1SP') { }
0 0 elsif ($params{'Projection'} eq 'Lambert_Conformal_Conic_2SP_Belgium') { }
0 0 elsif ($params{'Projection'} eq 'miller_cylindrical') { }
0 0 elsif ($params{'Projection'} =~ /^Mercator/) { }
0 0 elsif ($params{'Projection'} eq 'Mollweide') { }
0 0 elsif ($params{'Projection'} eq 'New_Zealand_Map_Grid') { }
0 0 elsif ($params{'Projection'} eq 'Oblique_Stereographic') { }
0 0 elsif ($params{'Projection'} eq 'Orthographic') { }
0 0 elsif ($params{'Projection'} eq 'Polyconic') { }
0 0 elsif ($params{'Projection'} eq 'Polar_Stereographic') { }
0 0 elsif ($params{'Projection'} eq 'Robinson') { }
0 0 elsif ($params{'Projection'} eq 'Sinusoidal') { }
0 0 elsif ($params{'Projection'} eq 'Stereographic') { }
0 0 elsif ($params{'Projection'} eq 'Swiss_Oblique_Cylindrical') { }
0 0 elsif ($params{'Projection'} eq 'Transverse_Mercator_South_Orientated') { }
0 0 elsif ($params{'Projection'} =~ /^Transverse_Mercator/) { }
0 0 elsif ($params{'Projection'} eq 'Tunisia_Mining_Grid') { }
0 0 elsif ($params{'Projection'} eq 'VanDerGrinten') { }
626 0 0 @parameters == 4 ? :
687 0 0 $variant ? :
710 0 0 if (wantarray) { }
712 0 0 if ($zone < 0)
729 0 0 unless ref $points->[0][0]