Condition Coverage

blib/lib/Ark/View/JSON.pm
Criterion Covered Total %
condition 3 14 21.4


and 3 conditions

line !l l&&!r l&&r condition
105 2 0 0 $self->allow_callback and ($c->req->user_agent || '') =~ /Safari/
2 0 0 $self->allow_callback and ($c->req->user_agent || '') =~ /Safari/ and not +($c->req->user_agent || '') =~ /Chrome/

or 2 conditions

line l !l condition
83 0 0 $self->callback_param || 'callback'
90 0 2 $c->req->user_agent || ''
105 0 0 $c->req->user_agent || ''
0 0 $c->req->user_agent || ''