blib/lib/Puncheur/Plugin/JSON.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 5 | 16 | 31.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
23 | 0 | 1 | 0 | not $self->request->header('X-Requested-With') and $user_agent =~ /android/i |
1 | 0 | 0 | not $self->request->header('X-Requested-With') and $user_agent =~ /android/i and defined $self->req->header('Cookie') | |
1 | 0 | 0 | not $self->request->header('X-Requested-With') and $user_agent =~ /android/i and defined $self->req->header('Cookie') and ($self->req->method || 'GET') eq 'GET' | |
44 | 1 | 0 | 0 | $user_agent =~ /Safari/ and $encoding eq 'utf-8' |
line | l | !l | condition |
---|---|---|---|
21 | 0 | 1 | $self->req->user_agent || '' |
23 | 0 | 0 | $self->req->method || 'GET' |