Branch Coverage

blib/lib/PDF/API2/Ladder.pm
Criterion Covered Total %
branch 0 142 0.0


line true false branch
59 0 0 $opt{'path'} ? :
63 0 0 $opt{'media_width'} ? :
64 0 0 $opt{'media_height'} ? :
69 0 0 $opt{'margin_top'} ? :
70 0 0 $opt{'margin_right'} ? :
71 0 0 $opt{'margin_bottom'} ? :
72 0 0 $opt{'margin_left'} ? :
73 0 0 if ($opt{'margin'})
78 0 0 $opt{'line_height'} ? :
82 0 0 $opt{'font'} ? :
83 0 0 $opt{'font_size'} ? :
84 0 0 $opt{'lead'} ? :
85 0 0 $opt{'font_color'} ? :
86 0 0 defined $opt{'charspace'} ? :
89 0 0 if ($$self{'file_name'}) { }
117 0 0 if ($opt{'fonts'})
150 0 0 $options{'bold'} ? :
151 0 0 $options{'oblique'} ? :
152 0 0 $options{'indent'} ? :
153 0 0 $options{'align'} ? :
155 0 0 $options{'font_size'} ? :
156 0 0 $options{'fonts'} ? :
157 0 0 $options{'font'} ? :
158 0 0 $options{'font_color'} ? :
159 0 0 defined $options{'charspace'} ? :
161 0 0 $options{'line_height'} ? :
162 0 0 $options{'lead'} ? :
165 0 0 if ($$self{'media_height'} - ($$self{'margin_top'} + $$self{'margin_bottom'} + $$self{'current_line_offset'}) < $line_height)
173 0 0 if ($bold)
174 0 0 if ($oblique)
175 0 0 if ($font_key eq '')
223 0 0 $options{'fonts'} ? :
224 0 0 $options{'font'} ? :
225 0 0 $options{'bold'} ? :
226 0 0 $options{'oblique'} ? :
227 0 0 $options{'font_color'} ? :
228 0 0 defined $options{'charspace'} ? :
230 0 0 $options{'line_height'} ? :
231 0 0 $options{'lead'} ? :
234 0 0 if ($$self{'media_height'} - ($$self{'margin_top'} + $$self{'margin_bottom'} + $$self{'current_line_offset'}) < $line_height)
241 0 0 if ($bold)
242 0 0 if ($oblique)
243 0 0 if ($font_key eq '')
262 0 0 if ($ypos < $$self{'margin_top'})
267 0 0 if ($bold)
268 0 0 if ($oblique)
269 0 0 if ($font_key eq '')
323 0 0 if ($$self{'show_margins'})
424 0 0 if exists $width{$_}
434 0 0 unless (exists $arg{'-h'})
439 0 0 unless (@paragraph)
440 0 0 unless scalar @paragraphs
444 0 0 if $arg{'-parspace'}
445 0 0 unless ($arg{'-heightless'})
446 0 0 unless $ypos >= $arg{'-y'} - $arg{'-h'}
459 0 0 if ($first_line and exists $arg{'-hang'}) { }
0 0 elsif ($first_line and exists $arg{'-flindent'}) { }
0 0 elsif ($first_paragraph and exists $arg{'-fpindent'}) { }
0 0 elsif (exists $arg{'-indent'}) { }
463 0 0 unless ($arg{'-heightless'} and $arg{'-measure'})
470 0 0 if $first_paragraph
504 0 0 if ($arg{'-align'} eq 'fulljustify' or $arg{'-align'} eq 'justify' and @paragraph) { }
508 0 0 if (scalar @line == 1)
517 0 0 $arg{'-align'} eq 'justify' ? :
523 0 0 if ($align eq 'justify') { }
526 0 0 unless ($arg{'-heightless'} and $arg{'-measure'})
531 0 0 if @line
539 0 0 if ($align eq 'right') { }
0 0 elsif ($align eq 'center') { }
549 0 0 unless ($arg{'-heightless'} and $arg{'-measure'})
561 0 0 if scalar @paragraph