Branch Coverage

blib/lib/MobileDetect.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
83 0 0 if (defined $filestamp and $filestamp > 31 or not -e '/var/tmp/Mobile_Detect.json') { }
89 0 0 unless open my $handle, '>:encoding(UTF-8)', '/var/tmp/Mobile_Detect.json'
94 0 0 unless open my $handle, '<:encoding(UTF-8)', '/var/tmp/Mobile_Detect.json'
122 0 0 if ($str =~ /$v1/sig) { }
137 0 0 if ($str =~ /$v2/sig) { }
152 0 0 if ($str =~ /$v3/sig) { }
167 0 0 if ($str =~ /$v4/sig) { }
185 0 0 if ($val1 =~ /[a-zA-Z]/sig or $val2 =~ /[a-zA-Z]/sig or $val3 =~ /[a-zA-Z]/sig)
195 0 0 if ($val =~ /[a-zA-Z]/sig)
205 0 0 if ($val =~ /[a-zA-Z]/sig)
215 0 0 if ($val =~ /[a-zA-Z]/sig)