Branch Coverage

lib/Geo/LibProj/cs2cs.pm
Criterion Covered Total %
branch 87 90 96.6


line true false branch
21 0 5 unless eval 'require Alien::proj'
40 1 20 if (ref $_[0] eq 'HASH') { }
49 15 6 defined $user_params ? :
55 6 19 unless defined $params->{$key}
72 1 23 if (defined $params->{'-d'} and defined $params->{'-f'})
77 1 23 if defined $params->{'-E'}
78 1 22 if defined $params->{'-t'}
79 1 21 if defined $params->{'-v'}
82 2 19 if (defined $params->{'-w'})
86 2 19 if (defined $params->{'-W'})
101 28 2 if (defined $path) { }
103 22 6 if -e $cmd
108 1 1 if not $@ and $? == 0
120 1 33 if $self->{'ffi_warn'} and not $self->{'ffi'}
121 19 15 unless $self->{'ffi'}
126 7 2 $_ eq '-f' ? :
128 2 13 if $self->{'ffi_warn'} and @params
129 4 11 if @params
132 1 10 if $self->{'ffi_warn'} and not $ctx
133 2 9 unless $ctx
139 1 8 if $self->{'ffi_warn'} and not $pj
140 2 7 if not $pj
147 2 23 if $self->{'ffi_pj'}
148 2 23 if $self->{'ffi_ctx'}
157 17 4 if (ref $self)
162 1 20 if length $stderr
163 1 20 if $code == -1
164 0 20 if $code & 127
165 2 18 if $code
166 0 18 if $eval_err
173 56 4 if &looks_like_number($value)
181 4 16 if $self->{'ffi'}
202 1 17 unless $line =~ /\s(\d+)\s*$/ax
204 1 16 unless $line =~ /^\s* (\S+) \s+ (\S+) \s+ (\S+) \s/ax
205 1 15 defined $aux ? :
208 38 10 if &looks_like_number($p[$j])
214 3 12 if ((my $s = @source_points) != (my $t = @target_points))
218 3 9 if wantarray
219 8 1 if @target_points < 2
230 3 5 unless defined $p->[3]
234 1 3 if wantarray
235 2 1 if @target_points < 2
243 2 4 ref $self ? :
244 1 5 if $ffi
252 2 1 if $out =~ /\b(\d+\.\d+(?:\.\d\w*)?)\b/u