Condition Coverage

blib/lib/Test/WebDriver.pm
Criterion Covered Total %
condition 2 34 5.8


and 3 conditions

line !l l&&!r l&&r condition
53 0 0 0 $$self{'default_names'} and not defined $name
57 0 0 0 not $rc and $self->error_callback
68 0 0 0 $$self{'default_names'} and not defined $name
73 0 0 0 not $rc and $self->error_callback
86 0 0 0 $$self{'default_names'} and not defined $name
97 0 0 0 $@ and $@ =~ /Can't locate object method/
100 0 0 0 not $rc and $self->error_callback

or 2 conditions

line l !l condition
178 0 1 $ENV{'TWD_HOST'} || shift() || 'localhost'
179 0 1 $ENV{'TWD_PORT'} || shift() || 4444

or 3 conditions

line l !l&&r !l&&!r condition
156 0 0 0 $p{$opt} ||= $ENV{'TWD_' . uc($opt)}
158 0 0 0 $p{'browser_name'} ||= $ENV{'TWD_BROWSER'}
159 0 0 0 $p{'remote_server_addr'} ||= $ENV{'TWD_HOST'}