Condition Coverage

blib/lib/WebService/Discord/Webhook.pm
Criterion Covered Total %
condition 0 25 0.0


and 3 conditions

line !l l&&!r l&&r condition
51 0 0 0 $params{'id'} and $params{'token'}
59 0 0 0 $params{'id'} =~ /^\d+$/ and $params{'token'} =~ m[^[^/?]+$]
180 0 0 0 substr($params{'avatar'}, 0, 2) eq "\377\330" and substr($params{'avatar'}, -2) eq "\377\331"
278 0 0 0 $params{'embeds'} and $params{'files'}
409 0 0 0 $params{'event'} and $params{'json'}

or 2 conditions

line l !l condition
400 0 0 $response->{'content'} || 1
438 0 0 $response->{'content'} || 1

or 3 conditions

line l !l&&r !l&&!r condition
166 0 0 0 $params{'name'} or exists $params{'avatar'}
278 0 0 0 $params{'content'} || $params{'files'} || $params{'embeds'}