line |
true |
false |
branch |
78
|
312 |
156 |
unless (defined "Test::Selenium::Remote::Driver"->can($method_name)) |
144
|
56 |
0 |
unless exists $ENV{$env_var_name} |
148
|
0 |
7 |
if exists $ENV{'TWD_BROWSER'} |
149
|
0 |
7 |
if exists $ENV{'TWD_HOST'} |
176
|
0 |
0 |
if "IO::Socket::INET"->new("PeerAddr", $host, "PeerPort", $port) |
328
|
0 |
10 |
if ($desc) { } |
330
|
0 |
0 |
unless $self->FINDERS->{$locator_strategy} |
333
|
6 |
4 |
if ($params) { } |
336
|
2 |
4 |
unless (defined $self->FINDERS->{$locator_strategy}) |
345
|
4 |
0 |
if ($locator_strategy) { } |
346
|
3 |
1 |
unless (defined $self->FINDERS->{$locator_strategy}) |
357
|
8 |
2 |
unless ($desc) |
363
|
0 |
10 |
if ($@) |
507
|
3 |
0 |
if (not ref $regex eq 'ARRAY') { } |
|
0 |
0 |
elsif (ref $regex eq 'ARRAY') { } |
508
|
0 |
3 |
unless defined $desc |
510
|
1 |
2 |
if (not $ret and $self->has_error_handler) |
517
|
0 |
0 |
unless defined $desc |
519
|
0 |
0 |
if (not $ret and $self->has_error_handler) |
549
|
3 |
0 |
if (not ref $regex eq 'ARRAY') { } |
|
0 |
0 |
elsif (ref $regex eq 'ARRAY') { } |
550
|
0 |
3 |
unless defined $desc |
552
|
1 |
2 |
if (not $ret and $self->has_error_handler) |
558
|
0 |
0 |
unless defined $desc |
560
|
0 |
0 |
if (not $ret and $self->has_error_handler) |
593
|
3 |
0 |
if (not ref $regex eq 'ARRAY') { } |
|
0 |
0 |
elsif (ref $regex eq 'ARRAY') { } |
594
|
0 |
3 |
unless defined $desc |
596
|
1 |
2 |
if (not $ret and $self->has_error_handler) |
603
|
0 |
0 |
unless defined $desc |
605
|
0 |
0 |
if (not $ret and $self->has_error_handler) |
639
|
3 |
0 |
if (not ref $regex eq 'ARRAY') { } |
|
0 |
0 |
elsif (ref $regex eq 'ARRAY') { } |
640
|
0 |
3 |
unless defined $desc |
642
|
1 |
2 |
if (not $ret and $self->has_error_handler) |
650
|
0 |
0 |
unless defined $desc |
652
|
0 |
0 |
if (not $ret and $self->has_error_handler) |
685
|
3 |
0 |
if (not ref $str eq 'ARRAY') { } |
|
0 |
0 |
elsif (ref $str eq 'ARRAY') { } |
686
|
0 |
3 |
unless defined $desc |
688
|
1 |
2 |
if (not $ret and $self->has_error_handler) |
695
|
0 |
0 |
unless defined $desc |
698
|
0 |
0 |
if (not $ret and $self->has_error_handler) |
729
|
3 |
0 |
if (not ref $str eq 'ARRAY') { } |
|
0 |
0 |
elsif (ref $str eq 'ARRAY') { } |
730
|
0 |
3 |
unless defined $desc |
732
|
1 |
2 |
if (not $ret and $self->has_error_handler) |
739
|
0 |
0 |
unless defined $desc |
741
|
0 |
0 |
if (not $ret and $self->has_error_handler) |
774
|
2 |
1 |
if (not ref $str eq 'ARRAY') { } |
|
1 |
0 |
elsif (ref $str eq 'ARRAY') { } |
775
|
1 |
1 |
unless defined $desc |
777
|
1 |
1 |
if (not $ret and $self->has_error_handler) |
784
|
0 |
2 |
unless defined $desc |
786
|
0 |
2 |
if (not $ret and $self->has_error_handler) |
820
|
1 |
2 |
if (not ref $str eq 'ARRAY') { } |
|
2 |
0 |
elsif (ref $str eq 'ARRAY') { } |
821
|
0 |
1 |
unless defined $desc |
823
|
0 |
1 |
if (not $ret and $self->has_error_handler) |
830
|
1 |
2 |
unless defined $desc |
832
|
1 |
2 |
if (not $ret and $self->has_error_handler) |