Branch Coverage

blib/lib/RapidApp/View/JSON.pm
Criterion Covered Total %
branch 4 18 22.2


line true false branch
44 0 11 if (my $err = $c->stash->{'exception'}) { }
45 0 0 if $c->debug
64 0 11 unless $json = $c->stash->{'json'} || $c->stash->{'jsonData'} || $c->stash->{'controllerResult'}
78 11 0 if ref $json
82 0 11 if ($rct eq 'text/x-rapidapp-form-response') { }
103 0 0 unless &blessed($err)
106 0 0 unless defined $str and length $str
112 0 0 unless &blessed($err)
115 0 0 unless defined $str and length $str