Condition Coverage

blib/lib/PDF/Reuse.pm
Criterion Covered Total %
condition 20 164 12.2


and 3 conditions

line !l l&&!r l&&r condition
293 1 0 0 $utfil_ref and $utfil_ref eq 'Apache2::RequestRec'
1 0 0 $utfil_ref and $utfil_ref eq 'IO::String'
385 0 1 0 defined $stream and length $stream > 0
407 1 0 0 $runfil and not $noLogg
433 0 1 0 $xPos =~ /\-?[\d\.]+/o and defined $xPos
436 0 1 0 $yPos =~ /\-?[\d\.]+/o and defined $yPos
623 0 0 0 defined $refNr and $refNr eq '0'
671 0 0 0 $effect eq 'print' and $form{$fSource}[8]
0 0 0 $effect eq 'print' and $form{$fSource}[8] and $refNr
708 0 0 0 $effect ne 'print' and $effect ne 'add'
822 1 0 0 $compress and length $stream > 99
824 0 0 0 length $output > 25 and length $output < length $stream
995 1 0 0 %links and @{$links{'-1'};}
1 0 0 %links and @{$links{$tSida};}
1315 0 0 0 not $ttfont and $font{$selector}
1374 0 0 0 $font{$name}[6] and $font{$name}[6]->filename eq $selector

or 2 conditions

line l !l condition
216 0 0 shift() || 12
254 1 0 $param || '-'
423 0 1 shift() || 'left'
424 0 1 shift() || '0'
577 0 0 $param->{'page'} || 1
578 0 0 $param->{'adjust'} || ''
579 0 0 $param->{'effect'} || 'print'
580 0 0 $param->{'tolerant'} || ''
581 0 0 $param->{'x'} || 0
582 0 0 $param->{'y'} || 0
583 0 0 $param->{'rotate'} || 0
584 0 0 $param->{'size'} || 1
585 0 0 $param->{'xsize'} || 1
586 0 0 $param->{'ysize'} || 1
590 0 0 shift() || 1
591 0 0 shift() || ''
592 0 0 shift() || 'print'
593 0 0 shift() || ''
594 0 0 shift() || 0
595 0 0 shift() || 0
596 0 0 shift() || 0
597 0 0 shift() || 1
598 0 0 shift() || 1
599 0 0 shift() || 1
749 1 1 shift() || ''
1037 0 1 scalar %fields or scalar @jsfiler
1046 0 1 scalar @inits or scalar %fields
1419 0 0 $self->{' objects'}{$obj->uid} || (return)

or 3 conditions

line l !l&&r !l&&!r condition
242 0 0 0 $key eq 'hidetoolbar' or $key eq 'hidemenubar'
0 0 0 $key eq 'hidetoolbar' or $key eq 'hidemenubar' or $key eq 'hidewindowui'
0 0 0 $key eq 'hidetoolbar' or $key eq 'hidemenubar' or $key eq 'hidewindowui' or $key eq 'fitwindow'
0 0 0 $key eq 'hidetoolbar' or $key eq 'hidemenubar' or $key eq 'hidewindowui' or $key eq 'fitwindow' or $key eq 'centerwindow'
275 0 0 0 $dirdel || errLog("Couldn't create dir $dirdel, $!")
283 0 0 0 $dirdel || errLog("Couldn't create dir $dirdel, $!")
293 0 0 1 $utfil_ref and $utfil_ref eq 'Apache2::RequestRec' or $utfil_ref eq 'Apache::RequestRec'
461 0 0 1 wantarray or $align ne 'left'
676 0 0 0 $x or $y
0 0 0 $x or $y or $rotate
0 0 0 $x or $y or $rotate or $size != 1
0 0 0 $x or $y or $rotate or $size != 1 or $xsize != 1
0 0 0 $x or $y or $rotate or $size != 1 or $xsize != 1 or $ysize != 1
995 0 0 1 @annots or %links and @{$links{'-1'};}
0 0 1 @annots or %links and @{$links{'-1'};} or %links and @{$links{$tSida};}
1263 0 0 0 shift() || $fontSize
1324 0 0 0 $docProxy ||= 'PDF::Reuse::DocProxy'->new('next_obj', sub { ++$objNr; } , 'prObj', \&PDF::Reuse::prObj)
1370 0 0 0 shift() || $aktuellFont[2]
1374 0 0 0 $font{$name}[1] eq $selector or $font{$name}[6] and $font{$name}[6]->filename eq $selector
1495 0 0 0 $self->{'fontname'} ||= $self->find_name