Condition Coverage

blib/lib/Egg/View/JSON.pm
Criterion Covered Total %
condition 0 14 0.0


or 2 conditions

line l !l condition
134 0 0 $$conf{'content_type'} ||= 'text/javascript+json'
135 0 0 $$conf{'charset'} ||= 'utf-8'
136 0 0 $$conf{'option'} ||= {}
153 0 0 shift() || (return undef)

or 3 conditions

line l !l&&r !l&&!r condition
165 0 0 0 shift() || $view->obj || croak(' I want json data. ')
170 0 0 0 $view->x_json or $$c{'x_json'}