blib/lib/HTTP/MobileAttribute/CarrierDetector.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 10 | 90.0 |
line | true | false | branch |
---|---|---|---|
19 | 0 | 745 | if (not defined $user_agent) { } |
242 | 503 | elsif ($user_agent =~ /$DoCoMoRE/) { } | |
119 | 384 | elsif ($user_agent =~ /$JPhoneRE|$VodafoneRE|$VodafoneMotRE|$SoftBankRE|$SoftBankCrawlerRE/) { } | |
185 | 199 | elsif ($user_agent =~ /$EZwebRE/) { } | |
21 | 178 | elsif ($user_agent =~ /$AirHRE/) { } |