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 1 $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'
672 0 1 $options{'indent'} || 0
810 0 0 $options{'scaling'} || 0.5
814 0 0 $options{'alignment'} || 'center'