Condition Coverage

blib/lib/PDF/Create/Page.pm
Criterion Covered Total %
condition 17 54 31.4


and 3 conditions

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

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
43 0 82 0 ref $this || $this
620 1433 0 0 $font_widths->{$fname}[ord $c] || $DEFAULT_FONT_WIDTH
775 0 0 0 $string_width + $one_space > $line_width or $para_last_line
898 2 0 0 $xpos or $ypos
906 2 0 0 $xscale or $yscale
909 0 0 2 $xskew or $yskew