Branch Coverage

blib/lib/MooX/Role/REST.pm
Criterion Covered Total %
branch 14 22 63.6


line true false branch
98 1 2 $cpath =~ m[^ / ]x ? :
103 2 1 if ($hmethod =~ /^ (?: GET | DELETE ) $/x) { }
104 2 0 $cdata ? :
105 2 0 if $params
108 1 0 $cdata ? :
111 0 3 if $DEBUG
116 0 3 if $DEBUG
119 1 2 unless ($response->{'success'})
121 1 0 if ($response->{'content'})
124 0 1 $ct eq 'application/json' ? :
132 2 0 $ct eq 'application/json' ? :