Branch Coverage

blib/lib/Duadua/Parser/FeaturePhone/FeaturePhone.pm
Criterion Covered Total %
branch 15 16 93.7


line true false branch
9 2 58 if ($d->_contain('DoCoMo/2.0') and $d->ua =~ m[^DoCoMo/2\.0 ([^\(]+)\(]) { }
1 57 elsif ($d->_contain('FOMA;') and $d->_contain_mozilla and $d->ua =~ / \(([^;]+);FOMA;/) { }
1 56 elsif ($d->_contain('SoftBank/')) { }
1 55 elsif ($d->_contain('Vodafone/')) { }
1 54 elsif ($d->_contain(';SoftBank') and $d->_contain_mozilla and $d->ua =~ /\(([^;]+);SoftBank/) { }
2 104 elsif ($d->_contain('KDDI-') and $d->ua =~ /^KDDI-([^\s]+)\s/) { }
55 1 1 if ($d->opt_version)
57 1 0 if $version