Condition Coverage

blib/lib/Catalyst/View/JSON.pm
Criterion Covered Total %
condition 13 16 81.2


and 3 conditions

line !l l&&!r l&&r condition
96 7 1 1 $c->req->header('X-Prototype-Version') and not $self->no_x_json_header
103 7 0 2 ($c->req->user_agent || '') =~ /Safari/ and $encoding eq 'utf-8'

or 2 conditions

line l !l condition
26 0 1 $$arguments{'json_driver'} || 'JSON'
73 10 0 $self->callback_param || 'callback'
81 6 3 $self->encoding || 'utf-8'
90 2 7 $c->req->user_agent || ''
103 2 7 $c->req->user_agent || ''