Branch Coverage

blib/lib/HTTP/MobileAttribute/Plugin/Locator.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
32 0 40 unless $klass->use
40 1 88 if $carrier eq 'NonMobile'
43 37 51 if (not defined $option_ref && defined $$option_ref{'locator'} or $$option_ref{'locator'} eq 1) { }
25 26 elsif ($$option_ref{'locator'} eq 2) { }
10 16 elsif ($$option_ref{'locator'} eq 3) { }
16 0 elsif ($$option_ref{'locator'} eq 4) { }
47 15 22 $agent->gps_compliant ? :
50 9 16 _is_gps_parameter($agent, $params) ? :
70 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) { }
89 3 74 if (ref $stuff and eval { do { $stuff->can('param') } }) { }
92 1 7 scalar @{[$stuff->param($_)];} > 1 ? :