Condition Coverage

blib/lib/Playwright.pm
Criterion Covered Total %
condition 14 50 28.0


and 3 conditions

line !l l&&!r l&&r condition
39 0 1 0 $node_bin and -x $node_bin
48 0 0 0 $server_bin and -x $server_bin
177 1 0 0 ref $msg eq "HASH" and $msg->{'_type'}
0 0 0 ref $msg eq "HASH" and $msg->{'_type'} and exists $mapper{$msg->{'_type'}}

or 2 conditions

line l !l condition
115 0 2 $options{'cdp_uri'} // ""
116 1 1 $options{'timeout'} // 30
117 0 2 $options{'maxrequest'} //= "100kb"
129 0 2 $options{'host'} // "localhost"
2 0 $$ // "bogus"
202 0 0 $object->{'timeouts'} //= []
209 0 0 $object->{'timeouts'} //= []
210 0 0 pop @{$$object{"timeouts"};} // 1000
219 0 0 $timeout //= 1
237 1 0 $$ // "hokum"

or 3 conditions

line l !l&&r !l&&!r condition
46 0 0 0 $server_bin //= Playwright::Util::find_playwright_server()
114 0 2 0 $options{'port'} // Net::EmptyPort::empty_port()
119 0 0 2 $options{'port'} || $options{'host'}
0 2 0 $options{'cleanup'} // !($options{'port'} || $options{'host'})
129 1 1 0 $options{'ua'} // "LWP::UserAgent"->new
331 0 0 0 fork // confess("Could not fork")