Branch Coverage

blib/lib/PDF/Kit.pm
Criterion Covered Total %
branch 0 90 0.0


line true false branch
103 0 0 wantarray ? :
119 0 0 wantarray ? :
135 0 0 wantarray ? :
214 0 0 if (isupper($c)) { }
215 0 0 if ($prev ne 'u')
221 0 0 if ($prev ne 'l')
254 0 0 if (@$list and ref $$list[-1]) { }
263 0 0 if (my $ref = ref $item) { }
264 0 0 if ($ref eq 'ARRAY') { }
0 0 elsif ($ref eq 'HASH') { }
272 0 0 if (@$list and ref $$list[-1]) { }
279 0 0 unless (@$list and not ref $$list[-1])
282 0 0 if $opts{-'space_before'}
284 0 0 if $opts{-'space_after'}
296 0 0 if exists $opts{-'space_before'}
297 0 0 if exists $opts{-'space_after'}
316 0 0 unless ref $item
351 0 0 if @$mut > 1
355 0 0 if (@$mut and exists $$mut[0][0]{-'indent'})
375 0 0 if (@$lines) { }
391 0 0 if ($space_pending)
394 0 0 if ($two_spaces)
407 0 0 if ($word =~ / \A \s /msx)
415 0 0 unless (@text)
417 0 0 if $$item[1] =~ / \A \s /msx
418 0 0 if ($$item[1] =~ / \A (\S+) (?=\s) /msx)
429 0 0 if ($trailing_width) { }
0 0 elsif ($space_pending) { }
430 0 0 if ($trailing_width + $right > $$lines[-1]{-'segments'}[-1]{-'width'})
435 0 0 if $two_spaces
436 0 0 if ($spw + $right > $$lines[-1]{-'segments'}[-1]{-'width'})
442 0 0 if ($new_line)
444 0 0 if (exists $opts{-'max_lines'} and @$lines >= $opts{-'max_lines'})
466 0 0 if ($trailing_width) { }
0 0 elsif ($space_pending) { }
476 0 0 if ($two_spaces)
492 0 0 if ($opts{-'two_spaces'})
498 0 0 if (@$lines and $add_p_end)
570 0 0 if ($sp <= 0) { }
576 0 0 if ($sum == 0) { }
639 0 0 if $$line{-'last_line'}
670 0 0 if (exists $$segment{-'joffset'})
715 0 0 if ($opts{-'justify_word'} or $opts{-'justify_char'} or $opts{-'justify_scale'}) { }
0 0 elsif ($opts{-'alignment'}) { }
722 0 0 if (@$y_values)