Condition Coverage

blib/lib/GDS2.pm
Criterion Covered Total %
condition 78 234 33.3


and 3 conditions

line !l l&&!r l&&r condition
547 0 8 0 $fileName and $fileHandle
699 5 0 0 defined $markEnd and $markEnd
705 4 0 1 defined $pad and $pad > 0
908 2 0 0 defined $unitWidth and $unitWidth >= 0
912 0 0 2 defined $widthReal and $widthReal >= 0
1499 0 0 0 defined $data[0] and $data[0] ne ''
0 0 0 defined $dataString and (defined $data[0] and $data[0] ne '')
1535 0 0 0 defined $data[0] and $data[0] ne ''
1729 255 0 0 defined $data[0] and $data[0] ne ''
62 255 0 defined $dataString and (defined $data[0] and $data[0] ne '')
1851 277 0 40 defined $data[0] and $data[0] ne ''
2098 229 3 24 not $$self{'INDATA'} and $$self{'INHEADER'} != -1
2406 3 3 3 $inText and $$self{'RecordType'} != 26
2494 110 11 44 $compact and $i
121 34 10 $compact and $i and $i == $#{$$self{'RecordData'};}

or 3 conditions

line l !l&&r !l&&!r condition
539 8 0 0 $class || ref $class || $GDS2::DefaultClass
551 8 0 0 $fileName or $fileHandle
591 0 0 8 $resolution <= 0 or not $resolution =~ /^\d+$/
920 2 0 0 defined $xy or defined $xyInt
944 0 0 2 $bgnExtn or $endExtn
1051 2 0 0 defined $xy or defined $xyInt
1073 0 2 0 $$xy[0] != $$xy[$#$xy - 1] or $$xy[1] != $$xy[$#$xy]
1121 2 0 0 defined $xy or defined $xyInt
1133 2 0 0 not defined $reflect or $reflect <= 0
1143 2 0 0 not defined $mag or $mag <= 0
1219 2 0 0 defined $xy or defined $xyInt
1231 2 0 0 not defined $reflect or $reflect <= 0
1241 2 0 0 not defined $mag or $mag <= 0
1268 0 0 2 not defined $columns or $columns <= 0
1277 0 0 2 not defined $rows or $rows <= 0
1383 0 0 0 not defined $reflect or $reflect <= 0
1394 0 0 0 not defined $font or $font < 0
0 0 0 not defined $font or $font < 0 or $font > 3
1418 0 0 0 not defined $mag or $mag <= 0
1438 0 0 0 defined $font or defined $top
0 0 0 defined $font or defined $top or defined $middle
0 0 0 defined $font or defined $top or defined $middle or defined $bottom
0 0 0 defined $font or defined $top or defined $middle or defined $bottom or defined $bottom
0 0 0 defined $font or defined $top or defined $middle or defined $bottom or defined $bottom or defined $left
0 0 0 defined $font or defined $top or defined $middle or defined $bottom or defined $bottom or defined $left or defined $center
0 0 0 defined $font or defined $top or defined $middle or defined $bottom or defined $bottom or defined $left or defined $center or defined $right
1557 0 0 0 $recordDataType == 1 or $recordDataType == 6
1761 0 0 0 $recordDataType == 2 or $recordDataType == 1
1874 27 30 198 $recordDataType == 1 or $recordDataType == 6
2130 9 3 240 $$self{'RecordType'} == 12 or $$self{'RecordType'} == 9
12 9 231 $$self{'RecordType'} == 12 or $$self{'RecordType'} == 9 or $$self{'RecordType'} == 8
12 9 222 $$self{'RecordType'} == 12 or $$self{'RecordType'} == 9 or $$self{'RecordType'} == 8 or $$self{'RecordType'} == 10
18 0 222 $$self{'RecordType'} == 12 or $$self{'RecordType'} == 9 or $$self{'RecordType'} == 8 or $$self{'RecordType'} == 10 or $$self{'RecordType'} == 11
2141 3 9 240 $$self{'RecordType'} == 2 or $$self{'RecordType'} == 6
2146 3 9 240 $$self{'RecordType'} == 1 or $$self{'RecordType'} == 5
2375 6 2 162 $$self{'RecordType'} == 8 or $$self{'RecordType'} == 9
8 6 156 $$self{'RecordType'} == 8 or $$self{'RecordType'} == 9 or $$self{'RecordType'} == 12
8 6 150 $$self{'RecordType'} == 8 or $$self{'RecordType'} == 9 or $$self{'RecordType'} == 12 or $$self{'RecordType'} == 10
12 0 150 $$self{'RecordType'} == 8 or $$self{'RecordType'} == 9 or $$self{'RecordType'} == 12 or $$self{'RecordType'} == 10 or $$self{'RecordType'} == 11
2463 4 4 40 $dateFld eq '4' or $dateFld eq '10'
2538 14 3 68 $G_gdtString =~ /}$/ or $G_gdtString =~ /^(gds2|lib|m).*\d$/
17 3 65 $G_gdtString =~ /}$/ or $G_gdtString =~ /^(gds2|lib|m).*\d$/ or $G_gdtString =~ /^cell.*'$/
2639 0 0 0 $$self{'RecordType'} == 12 or $$self{'RecordType'} == 9
0 0 0 $$self{'RecordType'} == 12 or $$self{'RecordType'} == 9 or $$self{'RecordType'} == 8
0 0 0 $$self{'RecordType'} == 12 or $$self{'RecordType'} == 9 or $$self{'RecordType'} == 8 or $$self{'RecordType'} == 10
0 0 0 $$self{'RecordType'} == 12 or $$self{'RecordType'} == 9 or $$self{'RecordType'} == 8 or $$self{'RecordType'} == 10 or $$self{'RecordType'} == 11
2646 0 0 0 $$self{'RecordType'} == 12 or $$self{'RecordType'} == 9
0 0 0 $$self{'RecordType'} == 12 or $$self{'RecordType'} == 9 or $$self{'RecordType'} == 8
0 0 0 $$self{'RecordType'} == 12 or $$self{'RecordType'} == 9 or $$self{'RecordType'} == 8 or $$self{'RecordType'} == 10
0 0 0 $$self{'RecordType'} == 12 or $$self{'RecordType'} == 9 or $$self{'RecordType'} == 8 or $$self{'RecordType'} == 10 or $$self{'RecordType'} == 11
0 0 0 $$self{'RecordType'} == 12 or $$self{'RecordType'} == 9 or $$self{'RecordType'} == 8 or $$self{'RecordType'} == 10 or $$self{'RecordType'} == 11 or $$self{'RecordType'} == 17
0 0 0 $$self{'RecordType'} == 12 or $$self{'RecordType'} == 9 or $$self{'RecordType'} == 8 or $$self{'RecordType'} == 10 or $$self{'RecordType'} == 11 or $$self{'RecordType'} == 17 or $$self{'RecordType'} == 7
0 0 0 $$self{'RecordType'} == 12 or $$self{'RecordType'} == 9 or $$self{'RecordType'} == 8 or $$self{'RecordType'} == 10 or $$self{'RecordType'} == 11 or $$self{'RecordType'} == 17 or $$self{'RecordType'} == 7 or $$self{'RecordType'} == 4
2846 0 0 0 not defined $columns or $columns <= 0
2855 0 0 0 not defined $rows or $rows <= 0
3140 0 0 0 not defined $mag or $mag <= 0
3216 0 0 0 not defined $font or $font < 0
0 0 0 not defined $font or $font < 0 or $font > 3
3349 0 0 0 not defined $reflect or $reflect <= 0
3537 0 0 0 not defined $width or $width <= 0
3563 0 0 0 defined $xy or defined $xyInt
4519 0 0 0 $dt == 2 or $dt == 3
0 0 0 $dt == 2 or $dt == 3 or $dt == 5