blib/lib/Catalyst/View/JSON.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 13 | 15 | 86.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
91 | 9 | 1 | 1 | $c->req->header('X-Prototype-Version') and not $self->no_x_json_header |
99 | 1 | 1 | 9 | $self->use_force_bom and $encoding eq 'utf-8' |
126 | 7 | 0 | 2 | $user_agent =~ /\bSafari\b/ && !($user_agent =~ /\bChrome\b/) |
line | l | !l | condition |
---|---|---|---|
81 | 11 | 0 | $self->callback_param || 'callback' |
87 | 7 | 4 | $self->encoding || 'utf-8' |
100 | 2 | 7 | $c->req->user_agent || '' |