Condition Coverage

blib/lib/CtrlO/PDF.pm
Criterion Covered Total %
condition 10 27 37.0


and 3 conditions

line !l l&&!r l&&r condition
128 0 1 0 $self->PDFlib and $self->PDFlib =~ /api2/i
509 0 0 0 $y and $y =~ /^-?[0-9]+(\.[0-9]+)?$/
523 0 0 0 $y and $y =~ /^-?[0-9]+(\.[0-9]+)?$/

or 2 conditions

line l !l condition
572 3 2 $ratio || 1.5
588 1 1 $options{'size'} || 16
608 0 2 $options{'indent'} || 0
663 0 1 delete $options{'size'} || 10
664 0 1 delete $options{'color'} || 'black'
665 0 1 delete $options{'format'} || 'none'
676 0 1 $options{'indent'} || 0
814 0 0 $options{'scaling'} || 0.5
818 0 0 $options{'alignment'} || 'center'