Branch Coverage

blib/lib/Selenium/Remote/Commands.pm
Criterion Covered Total %
branch 15 20 75.0


line true false branch
458 0 198 unless (defined $args->{'session_id'})
465 0 198 unless $self->get_cmds->{$command}
486 259 29 if (ref $resp eq "HASH")
487 241 18 if ($resp->{'cmd_status'} and $resp->{'cmd_status'} eq "OK")
491 1 17 if $resp->{'cmd_error'}
492 17 1 if ($resp->{'cmd_return'})
493 16 1 if (ref $resp->{'cmd_return'} eq 'HASH') { }
495 16 0 if $res->{'command'}
497 16 0 if $resp->{'cmd_return'}{'error'}{'msg'}
499 16 0 if $resp->{'cmd_return'}{'message'}