Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
106 0 0 0 defined $output and length $output
154 0 0 0 $name and $name =~ s/^\Q$prefix\E//s
169 0 0 0 @{$self->stylesheets;} and not $self->source->is_html
191 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
116 0 0 0 'IO::File'->new($path, '<') || Carp::croak("can't open '${path}': $!")