Branch Coverage

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


line true false branch
138 0 0 unless my $file = "IO::File"->new($filePath, ">")
166 0 0 unless my $JobID = $self->SUPER::startAsyncJob
182 0 0 if ($asyncJobClient->finished)
213 0 0 unless my $file = "IO::File"->new($filePath, ">")
266 0 0 unless my $file = "IO::File"->new($filePath, ">")
296 0 0 unless my $JobID = $self->SUPER::startAsyncJob
312 0 0 if ($asyncJobClient->finished)
345 0 0 unless my $file = "IO::File"->new($filePath, ">")
444 0 0 unless ($pageSize =~ /^(Custom|A0|A1|A2|A3|A4|A5|A6|A7|A8|Letter|HalfLetter|Ledger|Legal)$/i)
507 0 0 unless ($pageOrientation =~ /^(Portrait|Landscape)$/i)
643 0 0 unless ($renderingEngine =~ /^(WebKit|Restricted|Blink)$/i)
823 0 0 if ($secureProtocol ne 0 and $secureProtocol ne 1 and $secureProtocol ne 2)
865 0 0 unless ($backgroundColor =~ /^#?[0-9a-fA-F]{6}$/)
1097 0 0 if ($pageLayout ne 0 and $pageLayout ne 1 and $pageLayout ne 2 and $pageLayout ne 3)
1120 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)
1779 0 0 if ($alignment ne 1 and $alignment ne 2 and $alignment ne 3)
1802 0 0 unless ($color =~ /^#?[0-9a-fA-F]{6}$/)
1932 0 0 unless ($startupMode =~ /^(Automatic|Manual)$/i)