Condition Coverage

blib/lib/PDF/Create/Page.pm
Criterion Covered Total %
condition 16 51 31.3


and 3 conditions

line !l l&&!r l&&r condition
501 10 0 0 defined $char_spacing and $char_spacing =~ /[0-9]+\.?[0-9]*/
505 10 0 0 defined $word_spacing and $word_spacing =~ /[0-9]+\.?[0-9]*/
728 0 0 0 defined $params and ref $params eq 'HASH'
746 0 0 0 exists $params->{'para_space_factor'} and defined $params->{'para_space_factor'}

or 2 conditions

line l !l condition
737 0 0 $params->{'start_y'} || 0
738 0 0 $params->{'end_y'} || 0
865 2 0 $params{'image'} || '1.2'
867 2 0 $params{'xpos'} || 0
868 2 0 $params{'ypos'} || 0
869 0 2 $params{'xalign'} || 0
870 0 2 $params{'yalign'} || 0
871 2 0 $params{'xscale'} || 1
872 2 0 $params{'yscale'} || 1
873 0 2 $params{'rotate'} || 0
874 0 2 $params{'xskew'} || 0
875 0 2 $params{'yskew'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
42 0 82 0 ref $this || $this
774 0 0 0 $string_width + $one_space > $line_width or $para_last_line
897 2 0 0 $xpos or $ypos
905 2 0 0 $xscale or $yscale
908 0 0 2 $xskew or $yskew