Branch Coverage

blib/lib/Parse/HTTP/UserAgent/Base/IS.pm
Criterion Covered Total %
branch 23 24 95.8


line true false branch
32 0 188 @{$others;} && index($others->[-1], 'Safari') != -1 ? :
34 188 $extra && index($extra->[0], 'AppleWebKit') != -1 ? :
42 222 index($str, 'Android') != -1 ? :
16 264 index($str, 'Chrome') != -1 ? :
41 4 56 unless $chrome and $safari
52 40 190 if ($has_android and $has_safari)
55 2 128 if (@{$others;} == 0 and @{$thing;} > 0 and $thing->[-1] and index($thing->[-1], 'AppleWebKit') != -1)
73 246 80 unless $extra and $extra->[1]
76 2 78 $moz_with_name ? :
84 74 2 if ref $extra ne 'ARRAY' or @{$extra;} != 1 or index(lc $extra->[0], 'firefox/') == -1
95 66 26 if $self->_generic_name_version(@args) or $self->_generic_compatible(@args) or $self->_generic_moz_thing(@args)
124 20 916 if $s eq 'U' or $s eq 'I' or $s eq 'N'