Branch Coverage

blib/lib/Geo/Coordinates/Converter.pm
Criterion Covered Total %
branch 27 36 75.0


line true false branch
32 68 0 unless (ref $converter)
34 68 0 unless ref $converter
49 0 68 if ref $formats eq 'ARRAY'
54 68 0 unless $source->format
64 272 0 unless (ref $format)
65 0 272 if ($format =~ s/^\+//) { }
79 272 660 if $plugin
80 68 864 wantarray ? :
88 106 68 unless $name
104 0 10 unless @opt
110 8 4 if ($self->formats($type)) { }
111 6 2 unless $format eq $type
114 0 4 if $@
140 9 13 if (my $datum = shift()) { }
142 1 8 if $point->datum eq $datum
158 72 17 if (my $fmt = shift()) { }
159 0 72 unless $self->formats($fmt)
161 14 58 if $point->format eq $fmt