Condition Coverage

blib/lib/Geo/GDAL.pm
Criterion Covered Total %
condition 39 117 33.3


and 3 conditions

line !l l&&!r l&&r condition
447 5 11 0 defined $pi and exists $PALETTE_INTERPRETATION_STRING2INT{$pi}
812 84 0 210 $md->{'DCAP_RASTER'} and $md->{'DCAP_RASTER'} eq 'YES'
823 42 0 105 $md->{'DCAP_RASTER'} and $md->{'DCAP_RASTER'} eq 'YES'
838 0 0 129 $md->{'DCAP_RASTER'} and $md->{'DCAP_RASTER'} eq 'YES'
865 1 1 1 $p[5] and not defined $p[6]
871 0 0 0 $p[5] and not defined $p[6]
877 0 0 0 $p[3] and not defined $p[4]
883 0 0 0 $p[7] and not defined $p[8]
889 0 0 0 $params[5] and not defined $params[6]
896 0 0 0 $p[6] and not defined $p[7]
903 1 0 0 $p[3] and not defined $p[4]
910 2 0 0 $p[3] and not defined $p[4]
916 0 0 0 $p[7] and not defined $p[8]
927 0 0 0 defined $p[$i] and ref $p[$i]
993 4 0 5 defined $test and $test eq 'YES'
1001 0 0 5 defined $h && $h eq 'YES'
1057 12 0 8 exists $defaults{$_[0]} and @_ % 2 == 0
1169 0 0 0 $proj and ref $proj
1204 0 1 0 defined $t and exists $d{$t}
0 1 0 @_ % 2 == 0 and (defined $t and exists $d{$t})
1256 0 1 0 defined $t and exists $d{$t}
0 1 0 @_ % 2 == 0 and (defined $t and exists $d{$t})
1391 1 0 1 @_ > 0 and defined $_[0]
1392 1 0 1 @_ > 1 and defined $_[1]
1449 11 0 12 @_ and defined $_[0]
1464 1 0 1 @_ and defined $_[0]
1487 3 0 0 $params{'Progress'} and not defined $params{'ProgressData'}
1506 0 0 0 &blessed($_[0]) and $_[0]->isa('Geo::OGR::DataSource')
1546 0 0 0 $params{'Progress'} and not defined $params{'ProgressData'}
1591 0 10 0 defined $t and exists $d{$t}
0 10 0 @_ % 2 == 0 and (defined $t and exists $d{$t})
1641 0 1 0 defined $t and exists $d{$t}
669 1 0 @_ % 2 == 0 and (defined $t and exists $d{$t})
1679 0 1 0 @_ and $_[0] =~ /^\d$/
1850 216 4 8 $usage eq $color and $type ne 'Integer'

or 3 conditions

line l !l&&r !l&&!r condition
1506 0 0 0 not defined $_[0] or &blessed($_[0]) and $_[0]->isa('Geo::OGR::DataSource')
1534 0 0 0 $params{'IDField'} =~ /^[+-]?\d+$/ or $fields{$params{'IDField'}}
1537 0 0 0 $params{'ElevField'} =~ /^[+-]?\d+$/ or $fields{$params{'ElevField'}}
1974 0 0 0 $f eq '..' or $f eq '.'