line |
!l |
l&&!r |
l&&r |
condition |
1174
|
665 |
0 |
80 |
@p % 2 == 0 and defined $c |
|
665 |
80 |
0 |
@p % 2 == 0 and defined $c and exists $c{$c} |
1177
|
0 |
0 |
205 |
defined $c{$c} and exists $defaults{$c{$c}} |
1184
|
1 |
3372 |
0 |
not &blessed($p[$i]) and ref $p[$i] ne $t |
1201
|
1123 |
0 |
1 |
defined $default and not defined $string |
1203
|
289 |
834 |
0 |
$int2string_hash and exists $int2string_hash->{$string} |
1398
|
0 |
0 |
0 |
defined $p[$i] and ref $p[$i] |
1477
|
10 |
0 |
8 |
defined $test and $test eq 'YES' |
1485
|
173 |
0 |
447 |
defined $h && $h eq 'YES' |
1548
|
2 |
49 |
1 |
$name and &blessed($name) |
1720
|
8 |
8 |
0 |
$p->{'fields'} and ref $p->{'fields'} ne 'ARRAY' |
1818
|
0 |
0 |
0 |
$proj and ref $proj |
1905
|
0 |
2 |
0 |
$name and &blessed($name) |
1941
|
0 |
0 |
0 |
$b and $b eq 'Geo::GDAL::Dataset' |
1976
|
2 |
0 |
0 |
$p->{$srs} and &blessed($p->{$srs}) |
1990
|
2 |
0 |
0 |
$b and $b eq 'Geo::GDAL::Dataset' |
2022
|
0 |
0 |
0 |
$b and $b eq 'Geo::GDAL::Dataset' |
2036
|
0 |
0 |
0 |
ref $sources eq 'ARRAY' and defined $sources->[0] |
2259
|
1 |
0 |
1 |
@_ > 0 and defined $_[0] |
2260
|
1 |
0 |
1 |
@_ > 1 and defined $_[1] |
2324
|
9 |
0 |
9 |
@_ and defined $_[0] |
2339
|
1 |
0 |
2 |
@_ and defined $_[0] |
2357
|
3 |
0 |
0 |
$p->{'progress'} and not defined $p->{'progressdata'} |
2392
|
0 |
0 |
0 |
$p->{'progress'} and not defined $p->{'progressdata'} |
2468
|
0 |
1 |
0 |
@_ and $_[0] =~ /^\d$/ |
2573
|
1 |
0 |
0 |
$p->{'options'}{'Connectedness'} and $p->{'options'}{'Connectedness'} == 8 |
2762
|
216 |
4 |
8 |
$usage eq $color and $type ne 'Integer' |
2926
|
0 |
0 |
0 |
$self->[2] == 0 && $self->[4] == 0 |
2936
|
1 |
0 |
4 |
$p and &blessed($p) |
3008
|
0 |
0 |
0 |
$self->[0] < $e->[2] && $self->[2] > $e->[0] && $self->[1] < $e->[3] && $self->[3] > $e->[1] |
line |
l |
!l&&r |
!l&&!r |
condition |
1194
|
3561 |
884 |
2763 |
$named{$c} //= $defaults{$k} |
1345
|
2 |
0 |
0 |
$p[1] eq 'ReadOnly' or $p[1] eq 'Update' |
1730
|
0 |
3 |
10 |
$f->{'GeometryType'} or exists $Geo::OGR::Geometry::TYPE_STRING2INT{$f->{'Type'}} |
2071
|
1 |
0 |
0 |
$p->{'red'} //= $b |
2072
|
1 |
0 |
0 |
$p->{'green'} //= $b |
2073
|
1 |
0 |
0 |
$p->{'blue'} //= $b |
2098
|
0 |
1 |
0 |
$p->{'red'} //= $b |
2099
|
0 |
1 |
0 |
$p->{'green'} //= $b |
2100
|
0 |
1 |
0 |
$p->{'blue'} //= $b |
2104
|
0 |
1 |
0 |
$p->{'dest'} //= Geo::GDAL::Driver('MEM')->Create('Name', 'dithered', 'Width', $w, 'Height', $h, 'Type', 'Byte')->Band |
2114
|
0 |
1 |
0 |
$p->{'dest'}->ColorTable // $self->ComputeColorTable('Red', $p->{'red'}, 'Green', $p->{'green'}, 'Blue', $p->{'blue'}, 'Progress', $p->{'progress'}, 'ProgressData', $p->{'progressdata'}) |
|
0 |
1 |
0 |
$p->{'colortable'} //= $p->{'dest'}->ColorTable // $self->ComputeColorTable('Red', $p->{'red'}, 'Green', $p->{'green'}, 'Blue', $p->{'blue'}, 'Progress', $p->{'progress'}, 'ProgressData', $p->{'progressdata'}) |
2271
|
1 |
18 |
0 |
$xsize //= $self->{'XSize'} - $xoff |
2272
|
1 |
18 |
0 |
$ysize //= $self->{'YSize'} - $yoff |
2273
|
0 |
19 |
0 |
$w_tile //= $xsize |
2274
|
0 |
19 |
0 |
$h_tile //= $ysize |
2376
|
0 |
0 |
0 |
$p->{'datasource'} //= Geo::OGR::GetDriver('Memory')->CreateDataSource('ds') |
2380
|
0 |
0 |
0 |
$p->{'idfield'} =~ /^[+-]?\d+$/ or $fields{$p->{'idfield'}} |
2383
|
0 |
0 |
0 |
$p->{'elevfield'} =~ /^[+-]?\d+$/ or $fields{$p->{'elevfield'}} |
2500
|
0 |
0 |
0 |
$xsize //= $xdim |
2501
|
0 |
0 |
0 |
$ysize //= $ydim |
2508
|
0 |
0 |
0 |
$xsize //= $self->{'XSize'} - $xoff |
2509
|
0 |
0 |
0 |
$ysize //= $self->{'YSize'} - $yoff |
2510
|
0 |
0 |
0 |
$xdim //= $xsize |
2511
|
0 |
0 |
0 |
$ydim //= $ysize |
2568
|
0 |
1 |
0 |
$p->{'outlayer'} //= Geo::OGR::Driver('Memory')->Create->CreateLayer('Name', 'polygonized', 'Fields', [{'Name', 'val', 'Type', $dt}, {'Name', 'geom', 'Type', 'Polygon'}]) |
2574
|
1 |
0 |
0 |
$leInt32 or $p->{'options'}{'ForceIntPixel'} |
2605
|
1 |
0 |
0 |
$p->{'options'}{'TYPE'} //= ($p->{'options'}{'DATATYPE'} //= 'Float32') |
2871
|
0 |
0 |
1 |
$f eq '..' or $f eq '.' |