Branch Coverage

blib/lib/SelectPdf/HtmlToPdfClient.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
108 0 0 unless my $file = "IO::File"->new($filePath, ">")
136 0 0 unless my $JobID = $self->SUPER::startAsyncJob
152 0 0 if ($asyncJobClient->finished)
183 0 0 unless my $file = "IO::File"->new($filePath, ">")
236 0 0 unless my $file = "IO::File"->new($filePath, ">")
266 0 0 unless my $JobID = $self->SUPER::startAsyncJob
282 0 0 if ($asyncJobClient->finished)
315 0 0 unless my $file = "IO::File"->new($filePath, ">")
414 0 0 unless ($pageSize =~ /^(Custom|A0|A1|A2|A3|A4|A5|A6|A7|A8|Letter|HalfLetter|Ledger|Legal)$/i)
477 0 0 unless ($pageOrientation =~ /^(Portrait|Landscape)$/i)
613 0 0 unless ($renderingEngine =~ /^(WebKit|Restricted|Blink)$/i)
793 0 0 if ($secureProtocol ne 0 and $secureProtocol ne 1 and $secureProtocol ne 2)
835 0 0 unless ($backgroundColor =~ /^#?[0-9a-fA-F]{6}$/)
1067 0 0 if ($pageLayout ne 0 and $pageLayout ne 1 and $pageLayout ne 2 and $pageLayout ne 3)
1090 0 0 if ($pageMode ne 0 and $pageMode ne 1 and $pageMode ne 2 and $pageMode ne 3 and $pageMode ne 4 and $pageMode ne 5)
1749 0 0 if ($alignment ne 1 and $alignment ne 2 and $alignment ne 3)
1772 0 0 unless ($color =~ /^#?[0-9a-fA-F]{6}$/)
1902 0 0 unless ($startupMode =~ /^(Automatic|Manual)$/i)