Condition Coverage

blib/lib/Kossy/Connection.pm
Criterion Covered Total %
condition 10 16 62.5


and 3 conditions

line !l l&&!r l&&r condition
72 0 0 1 @_ && ref $_[0]
91 2 2 1 not exists $self->req->env->{'HTTP_X_REQUESTED_WITH'} and ($self->req->env->{'HTTP_USER_AGENT'} || '') =~ /android/i
4 0 1 not exists $self->req->env->{'HTTP_X_REQUESTED_WITH'} and ($self->req->env->{'HTTP_USER_AGENT'} || '') =~ /android/i and exists $self->req->env->{'HTTP_COOKIE'}
0 0 1 not exists $self->req->env->{'HTTP_X_REQUESTED_WITH'} and ($self->req->env->{'HTTP_USER_AGENT'} || '') =~ /android/i and exists $self->req->env->{'HTTP_COOKIE'} and ($self->req->method || 'GET') eq "GET"

or 2 conditions

line l !l condition
91 1 2 $self->req->env->{'HTTP_USER_AGENT'} || ''
0 1 $self->req->method || 'GET'