blib/lib/WebDriver/Tiny.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 39 | 46.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
300 | 0 | 1 | 0 | $self->[0] and $self->[3] |
line | l | !l | condition |
---|---|---|---|
78 | 0 | 1 | $args{'host'} //= 'localhost' |
79 | 0 | 1 | $args{'path'} //= '' |
84 | 0 | 1 | $args{'base_url'} // '' |
90 | 0 | 1 | $args{'capabilities'} // {} |
131 | 3 | 1 | $_[1] // '' |
163 | 0 | 2 | $_[0]->_req('GET', '/cookie') // [] |
181 | 10 | 2 | $args{'method'} // '' |
10 | 2 | $$methods{$args{'method'} // ''} // 'css selector' | |
188 | 0 | 12 | $args{'tries'} // 5 |
202 | 0 | 0 | $args{'sleep'} // 0.1 |
267 | 2 | 2 | $_ // 0 |
281 | 31 | 42 | $args // {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
166 | 0 | 0 | 0 | $_->{'httpOnly'} //= delete $_->{'httponly'} |
206 | 12 | 0 | 0 | @ids or exists $args{'dies'} |
0 | 0 | 0 | @ids or exists $args{'dies'} or $args{'dies'} | |
292 | 0 | 0 | 0 | $value->{'message'} || $value->{'error'} || $reply->{'content'} |