Condition Coverage

lib/Test/WWW/Mechanize/Driver.pm
Criterion Covered Total %
condition 35 49 71.4


and 3 conditions

line !l l&&!r l&&r condition
125 8 9 1 HAS($x, 'load') and not ref $x->{'load'}
300 0 0 18 HAS($x, 'load') and 'ARRAY' eq ref $x->{'load'}
432 29 0 6 TRUE(\%config_aliases, $_) and not HAS($group, $config_aliases{$_})
553 0 0 1 $res && !$@

or 2 conditions

line l !l condition
144 8 38 $x->{'add_to_plan'} || 0
245 2 16 $group->{'method'} ||= 'GET'
602 4 86 $x->{$_} || 0
651 0 4 $x->{'_local_config'} ||= {}
664 16 5 $x->{'_local_config'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
107 0 10 0 $x{'loader'} ||= 'Test::WWW::Mechanize::Driver::YAMLLoader'->new
306 0 0 10 $@ or not @docs
420 29 6 47 TRUE(\%config_options, $_) or TRUE(\%config_aliases, $_)
14 1 32 TRUE(\%scalar_tests, $_) or TRUE(\%bool_tests, $_)
15 2 30 TRUE(\%scalar_tests, $_) or TRUE(\%bool_tests, $_) or TRUE(\%kv_tests, $_)
3 0 30 TRUE(\%scalar_tests, $_) or TRUE(\%bool_tests, $_) or TRUE(\%kv_tests, $_) or TRUE(\%hash_tests, $_)
2 0 30 TRUE(\%scalar_tests, $_) or TRUE(\%bool_tests, $_) or TRUE(\%kv_tests, $_) or TRUE(\%hash_tests, $_) or TRUE(\%mech_action, $_)
0 18 12 TRUE(\%scalar_tests, $_) or TRUE(\%bool_tests, $_) or TRUE(\%kv_tests, $_) or TRUE(\%hash_tests, $_) or TRUE(\%mech_action, $_) or TRUE(\%aliases, $_)
18 0 12 TRUE(\%scalar_tests, $_) or TRUE(\%bool_tests, $_) or TRUE(\%kv_tests, $_) or TRUE(\%hash_tests, $_) or TRUE(\%mech_action, $_) or TRUE(\%aliases, $_) or $x->mechanize->can($_)