Branch Coverage

blib/lib/Duadua.pm
Criterion Covered Total %
branch 32 32 100.0


line true false branch
104 1 418 if (exists $opt->{'skip'})
107 2 59 if grep {$p eq $_;} @{$$opt{"skip"};}
134 412 1870 if ($value) { }
139 402 1468 unless $self->{'_parsed'}
147 402 4 if (ref $self eq 'Duadua') { }
2 2 elsif ($self eq 'Duadua') { }
174 5 420 unless (defined $ua_raw)
175 3 2 exists $ENV{'HTTP_USER_AGENT'} && defined $ENV{'HTTP_USER_AGENT'} ? :
178 1 419 if (ref($ua_raw) =~ /^HTTP::Headers/)
190 132 109 +(shift())->_result->{'is_bot'} ? :
194 16 225 +(shift())->_result->{'is_ios'} ? :
198 19 222 +(shift())->_result->{'is_android'} ? :
202 29 212 +(shift())->_result->{'is_linux'} ? :
206 39 204 +(shift())->_result->{'is_windows'} ? :
210 1 237 +(shift())->_result->{'is_chromeos'} ? :
214 4 178 unless +(shift())->_result->{'version'}