Branch Coverage

blib/lib/HTTP/MobileAgent/Plugin/Locator.pm
Criterion Covered Total %
branch 33 36 91.6


line true false branch
38 0 41 unless $locator_class->require
47 10 1 $agent->is_airh_phone ? :
24 11 $agent->is_softbank ? :
24 35 $agent->is_ezweb ? :
31 59 $agent->is_docomo ? :
52 1 89 unless $carrier
55 38 51 if (not defined $option_ref && defined $$option_ref{'locator'} or $$option_ref{'locator'} eq $LOCATOR_AUTO_FROM_COMPLIANT) { }
25 26 elsif ($$option_ref{'locator'} eq $LOCATOR_AUTO) { }
10 16 elsif ($$option_ref{'locator'} eq $LOCATOR_GPS) { }
16 0 elsif ($$option_ref{'locator'} eq $LOCATOR_BASIC) { }
58 16 22 $agent->gps_compliant ? :
61 9 16 _is_gps_parameter($agent, $params) ? :
80 12 20 if ($agent->is_docomo) { }
9 11 elsif ($agent->is_ezweb) { }
9 2 elsif ($agent->is_softbank) { }
2 0 elsif ($agent->is_airh_phone) { }
99 3 74 if (ref $stuff and eval { do { $stuff->can('param') } }) { }
101 1 7 scalar @{[$stuff->param($_)];} > 1 ? :