Branch Coverage

blib/lib/Test/Selenium/Remote/Role/DoesTesting.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
28 9 48 if $self->FINDERS->{$k} eq $finder_value
67 10 21 if ($method =~ /^find(_no|_child)?_element/)
70 0 10 if (scalar(@r_args) - $num_of_args == 1) { }
74 8 2 if (scalar @r_args == $num_of_args)
80 4 4 unless (&any(sub { $finder eq $_; } , @FINDERS))
90 3 28 if ($method eq 'find_no_element') { }
97 1 0 if (@{$elements;}) { }
109 2 2 if ($method eq 'find_no_element') { }
121 15 14 unless (defined $test_name)
123 9 6 $num_of_args > 0 ? :
129 3 26 if ($method eq "find_no_element")
130 1 2 if (&blessed($rv) and $rv->isa("Selenium::Remote::WebElement"))
152 135 246 if ($meth_comp eq "ok")
171 0 246 unless (exists $comparators{$meth_comp})