Branch Coverage

blib/lib/WebService/Pandora/Method.pm
Criterion Covered Total %
branch 4 30 13.3


line true false branch
21 1 0 unless $class
54 1 1 if defined $error
66 1 0 unless (defined $$self{'name'} and defined $$self{'host'})
75 0 0 if (defined $$self{'userAuthToken'})
80 0 0 if (defined $$self{'syncTime'})
92 0 0 if ($$self{'encrypt'})
97 0 0 unless (defined $json_data)
105 0 0 $$self{'ssl'} ? :
117 0 0 if (defined $$self{'userAuthToken'}) { }
0 0 elsif (defined $$self{'partnerAuthToken'}) { }
129 0 0 if (defined $$self{'partnerId'})
135 0 0 if (defined $$self{'userId'})
153 0 0 unless ($response->is_success)
166 0 0 if ($$json_data{'stat'} ne 'ok')
173 0 0 if defined $$json_data{'result'}