Condition Coverage

blib/lib/PDF/Builder/Annotation.pm
Criterion Covered Total %
condition 29 186 15.5


and 3 conditions

line !l l&&!r l&&r condition
104 1 0 0 defined $opts{'-rect'} and not defined $opts{'rect'}
105 1 0 0 defined $opts{'-border'} and not defined $opts{'border'}
106 1 0 0 defined $opts{'-color'} and not defined $opts{'color'}
150 1 0 0 defined $opts{'-rect'} and not defined $opts{'rect'}
151 1 0 0 defined $opts{'-color'} and not defined $opts{'color'}
152 1 0 0 defined $opts{'-border'} and not defined $opts{'border'}
188 1 0 0 defined $opts{'-rect'} and not defined $opts{'rect'}
189 1 0 0 defined $opts{'-color'} and not defined $opts{'color'}
190 1 0 0 defined $opts{'-border'} and not defined $opts{'border'}
223 1 0 0 defined $opts{'-rect'} and not defined $opts{'rect'}
224 1 0 0 defined $opts{'-color'} and not defined $opts{'color'}
225 1 0 0 defined $opts{'-border'} and not defined $opts{'border'}
287 2 0 0 defined $opts{'-rect'} and not defined $opts{'rect'}
288 2 0 0 defined $opts{'-color'} and not defined $opts{'color'}
289 2 0 0 defined $opts{'-border'} and not defined $opts{'border'}
290 2 0 0 defined $opts{'-open'} and not defined $opts{'open'}
291 2 0 0 defined $opts{'-text'} and not defined $opts{'text'}
292 2 0 0 defined $opts{'-opacity'} and not defined $opts{'opacity'}
293 2 0 0 defined $opts{'-icon'} and not defined $opts{'icon'}
313 2 0 0 $icon and not ref $icon
394 0 0 0 defined $opts{'-color'} and not defined $opts{'color'}
395 0 0 0 defined $opts{'-open'} and not defined $opts{'open'}
396 0 0 0 defined $opts{'-text'} and not defined $opts{'text'}
397 0 0 0 defined $opts{'-opacity'} and not defined $opts{'opacity'}
448 0 0 0 defined $opts{'-rect'} and not defined $opts{'rect'}
449 0 0 0 defined $opts{'-color'} and not defined $opts{'color'}
450 0 0 0 defined $opts{'-border'} and not defined $opts{'border'}
451 0 0 0 defined $opts{'-text'} and not defined $opts{'text'}
555 0 0 0 defined $opts{'-rect'} and not defined $opts{'rect'}
556 0 0 0 defined $opts{'-color'} and not defined $opts{'color'}
558 0 0 0 defined $opts{'-text'} and not defined $opts{'text'}
559 0 0 0 defined $opts{'-opacity'} and not defined $opts{'opacity'}
560 0 0 0 defined $opts{'-icon'} and not defined $opts{'icon'}
561 0 0 0 defined $opts{'-notrimpath'} and not defined $opts{'notrimpath'}
607 0 0 0 $icon and not ref $icon
802 2 0 0 defined $position{'-fit'} and not defined $position{'fit'}
803 2 0 0 defined $position{'-fith'} and not defined $position{'fith'}
804 2 0 0 defined $position{'-fitb'} and not defined $position{'fitb'}
805 2 0 0 defined $position{'-fitbh'} and not defined $position{'fitbh'}
806 2 0 0 defined $position{'-fitv'} and not defined $position{'fitv'}
807 2 0 0 defined $position{'-fitbv'} and not defined $position{'fitbv'}
808 2 0 0 defined $position{'-fitr'} and not defined $position{'fitr'}
809 2 0 0 defined $position{'-xyz'} and not defined $position{'xyz'}
893 0 0 0 scalar @color == 1 and $color[0] >= 0
0 0 0 scalar @color == 1 and $color[0] >= 0 and $color[0] <= 1
0 0 0 scalar @color == 3 and $color[0] >= 0
0 0 0 scalar @color == 3 and $color[0] >= 0 and $color[0] <= 1
0 0 0 scalar @color == 3 and $color[0] >= 0 and $color[0] <= 1 and $color[1] >= 0
0 0 0 scalar @color == 3 and $color[0] >= 0 and $color[0] <= 1 and $color[1] >= 0 and $color[1] <= 1
0 0 0 scalar @color == 3 and $color[0] >= 0 and $color[0] <= 1 and $color[1] >= 0 and $color[1] <= 1 and $color[2] >= 0
0 0 0 scalar @color == 3 and $color[0] >= 0 and $color[0] <= 1 and $color[1] >= 0 and $color[1] <= 1 and $color[2] >= 0 and $color[2] <= 1
0 0 0 scalar @color == 4 and $color[0] >= 0
0 0 0 scalar @color == 4 and $color[0] >= 0 and $color[0] <= 1
0 0 0 scalar @color == 4 and $color[0] >= 0 and $color[0] <= 1 and $color[1] >= 0
0 0 0 scalar @color == 4 and $color[0] >= 0 and $color[0] <= 1 and $color[1] >= 0 and $color[1] <= 1
0 0 0 scalar @color == 4 and $color[0] >= 0 and $color[0] <= 1 and $color[1] >= 0 and $color[1] <= 1 and $color[2] >= 0
0 0 0 scalar @color == 4 and $color[0] >= 0 and $color[0] <= 1 and $color[1] >= 0 and $color[1] <= 1 and $color[2] >= 0 and $color[2] <= 1
0 0 0 scalar @color == 4 and $color[0] >= 0 and $color[0] <= 1 and $color[1] >= 0 and $color[1] <= 1 and $color[2] >= 0 and $color[2] <= 1 and $color[3] >= 0
0 0 0 scalar @color == 4 and $color[0] >= 0 and $color[0] <= 1 and $color[1] >= 0 and $color[1] <= 1 and $color[2] >= 0 and $color[2] <= 1 and $color[3] >= 0 and $color[3] <= 1
929 0 0 0 defined $opts{'-rect'} and not defined $opts{'rect'}

or 3 conditions

line l !l&&r !l&&!r condition
400 0 0 0 scalar @pointList == 0 or scalar(@pointList) % 8
812 2 0 0 $self->{'A'} //= PDFDict()