Condition Coverage

lib/PDF/WebKit.pm
Criterion Covered Total %
condition 4 17 23.5


and 3 conditions

line !l l&&!r l&&r condition
107 0 0 0 defined $output and length $output
155 0 0 0 $name and $name =~ s/^\Q$prefix\E//s
170 0 0 0 @{$self->stylesheets;} and not $self->source->is_html
192 2 0 64 defined $val and length $val

or 2 conditions

line l !l condition
73 1 8 $path || '-'

or 3 conditions

line l !l&&r !l&&!r condition
117 0 0 0 'IO::File'->new($path, '<') || Carp::croak("can't open '${path}': $!")