Branch Coverage

blib/lib/WebService/Pixela/Webhook.pm
Criterion Covered Total %
branch 18 20 90.0


line true false branch
25 6 10 if (@_)
38 1 5 unless $params->{'graphID'}
41 1 4 unless $args{'type'}
43 3 5 if ($args{'type'} =~ /^$_$/i)
47 1 3 unless $params->{'type'}
52 2 1 $self->client->decode ? :
54 3 0 if ($res_json->{'isSuccess'})
68 1 1 $client->decode ? :
76 0 2 unless $hash
87 2 2 unless $hash