Condition Coverage

blib/lib/GDS2.pm
Criterion Covered Total %
condition 76 228 33.3


and 3 conditions

line !l l&&!r l&&r condition
686 5 0 0 defined $markEnd and $markEnd
692 4 0 1 defined $pad and $pad > 0
895 2 0 0 defined $unitWidth and $unitWidth >= 0
899 0 0 2 defined $widthReal and $widthReal >= 0
1486 0 0 0 defined $data[0] and $data[0] ne ''
0 0 0 defined $dataString and (defined $data[0] and $data[0] ne '')
1522 0 0 0 defined $data[0] and $data[0] ne ''
1716 255 0 0 defined $data[0] and $data[0] ne ''
62 255 0 defined $dataString and (defined $data[0] and $data[0] ne '')
1838 277 0 40 defined $data[0] and $data[0] ne ''
2085 229 3 24 not $$self{'INDATA'} and $$self{'INHEADER'} != -1
2393 3 3 3 $inText and $$self{'RecordType'} != 26
2481 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
550 0 0 8 $resolution <= 0 or not $resolution =~ /^\d+$/
907 2 0 0 defined $xy or defined $xyInt
931 0 0 2 $bgnExtn or $endExtn
1038 2 0 0 defined $xy or defined $xyInt
1060 0 2 0 $$xy[0] != $$xy[$#$xy - 1] or $$xy[1] != $$xy[$#$xy]
1108 2 0 0 defined $xy or defined $xyInt
1120 2 0 0 not defined $reflect or $reflect <= 0
1130 2 0 0 not defined $mag or $mag <= 0
1206 2 0 0 defined $xy or defined $xyInt
1218 2 0 0 not defined $reflect or $reflect <= 0
1228 2 0 0 not defined $mag or $mag <= 0
1255 0 0 2 not defined $columns or $columns <= 0
1264 0 0 2 not defined $rows or $rows <= 0
1370 0 0 0 not defined $reflect or $reflect <= 0
1381 0 0 0 not defined $font or $font < 0
0 0 0 not defined $font or $font < 0 or $font > 3
1405 0 0 0 not defined $mag or $mag <= 0
1425 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
1544 0 0 0 $recordDataType == 1 or $recordDataType == 6
1748 0 0 0 $recordDataType == 2 or $recordDataType == 1
1861 27 30 198 $recordDataType == 1 or $recordDataType == 6
2117 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
2128 3 9 240 $$self{'RecordType'} == 2 or $$self{'RecordType'} == 6
2133 3 9 240 $$self{'RecordType'} == 1 or $$self{'RecordType'} == 5
2362 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
2450 4 4 40 $dateFld eq '4' or $dateFld eq '10'
2525 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.*'$/
2626 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
2633 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
2827 0 0 0 not defined $columns or $columns <= 0
2836 0 0 0 not defined $rows or $rows <= 0
3121 0 0 0 not defined $mag or $mag <= 0
3197 0 0 0 not defined $font or $font < 0
0 0 0 not defined $font or $font < 0 or $font > 3
3330 0 0 0 not defined $reflect or $reflect <= 0
3518 0 0 0 not defined $width or $width <= 0
3544 0 0 0 defined $xy or defined $xyInt
4500 0 0 0 $dt == 2 or $dt == 3
0 0 0 $dt == 2 or $dt == 3 or $dt == 5