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
108 1 0 0 defined $opts{'-rect'} and not defined $opts{'rect'}
109 1 0 0 defined $opts{'-border'} and not defined $opts{'border'}
110 1 0 0 defined $opts{'-color'} and not defined $opts{'color'}
149 1 0 0 defined $opts{'-rect'} and not defined $opts{'rect'}
150 1 0 0 defined $opts{'-color'} and not defined $opts{'color'}
151 1 0 0 defined $opts{'-border'} and not defined $opts{'border'}
187 1 0 0 defined $opts{'-rect'} and not defined $opts{'rect'}
188 1 0 0 defined $opts{'-color'} and not defined $opts{'color'}
189 1 0 0 defined $opts{'-border'} and not defined $opts{'border'}
221 1 0 0 defined $opts{'-rect'} and not defined $opts{'rect'}
222 1 0 0 defined $opts{'-color'} and not defined $opts{'color'}
223 1 0 0 defined $opts{'-border'} and not defined $opts{'border'}
284 2 0 0 defined $opts{'-rect'} and not defined $opts{'rect'}
285 2 0 0 defined $opts{'-color'} and not defined $opts{'color'}
286 2 0 0 defined $opts{'-border'} and not defined $opts{'border'}
287 2 0 0 defined $opts{'-open'} and not defined $opts{'open'}
288 2 0 0 defined $opts{'-text'} and not defined $opts{'text'}
289 2 0 0 defined $opts{'-opacity'} and not defined $opts{'opacity'}
290 2 0 0 defined $opts{'-icon'} and not defined $opts{'icon'}
310 2 0 0 $icon and not ref $icon
391 0 0 0 defined $opts{'-color'} and not defined $opts{'color'}
392 0 0 0 defined $opts{'-open'} and not defined $opts{'open'}
393 0 0 0 defined $opts{'-text'} and not defined $opts{'text'}
394 0 0 0 defined $opts{'-opacity'} and not defined $opts{'opacity'}
445 0 0 0 defined $opts{'-rect'} and not defined $opts{'rect'}
446 0 0 0 defined $opts{'-color'} and not defined $opts{'color'}
447 0 0 0 defined $opts{'-border'} and not defined $opts{'border'}
448 0 0 0 defined $opts{'-text'} and not defined $opts{'text'}
552 0 0 0 defined $opts{'-rect'} and not defined $opts{'rect'}
553 0 0 0 defined $opts{'-color'} and not defined $opts{'color'}
555 0 0 0 defined $opts{'-text'} and not defined $opts{'text'}
556 0 0 0 defined $opts{'-opacity'} and not defined $opts{'opacity'}
557 0 0 0 defined $opts{'-icon'} and not defined $opts{'icon'}
558 0 0 0 defined $opts{'-notrimpath'} and not defined $opts{'notrimpath'}
604 0 0 0 $icon and not ref $icon
799 2 0 0 defined $position{'-fit'} and not defined $position{'fit'}
800 2 0 0 defined $position{'-fith'} and not defined $position{'fith'}
801 2 0 0 defined $position{'-fitb'} and not defined $position{'fitb'}
802 2 0 0 defined $position{'-fitbh'} and not defined $position{'fitbh'}
803 2 0 0 defined $position{'-fitv'} and not defined $position{'fitv'}
804 2 0 0 defined $position{'-fitbv'} and not defined $position{'fitbv'}
805 2 0 0 defined $position{'-fitr'} and not defined $position{'fitr'}
806 2 0 0 defined $position{'-xyz'} and not defined $position{'xyz'}
889 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
925 0 0 0 defined $opts{'-rect'} and not defined $opts{'rect'}

or 3 conditions

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