Branch Coverage

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


line true false branch
103 1 417 if (exists $opt->{'skip'})
106 2 58 if grep {$p eq $_;} @{$$opt{"skip"};}
133 411 1863 if ($value) { }
138 401 1462 unless $self->{'_parsed'}
146 401 4 if (ref $self eq 'Duadua') { }
2 2 elsif ($self eq 'Duadua') { }
173 5 419 unless (defined $ua_raw)
174 3 2 exists $ENV{'HTTP_USER_AGENT'} && defined $ENV{'HTTP_USER_AGENT'} ? :
177 1 418 if (ref($ua_raw) =~ /^HTTP::Headers/)
189 131 109 +(shift())->_result->{'is_bot'} ? :
193 16 224 +(shift())->_result->{'is_ios'} ? :
197 18 222 +(shift())->_result->{'is_android'} ? :
201 28 212 +(shift())->_result->{'is_linux'} ? :
205 39 203 +(shift())->_result->{'is_windows'} ? :
209 1 236 +(shift())->_result->{'is_chromeos'} ? :
213 4 178 unless +(shift())->_result->{'version'}