Condition Coverage

blib/lib/Net/Zendesk.pm
Criterion Covered Total %
condition 6 29 20.6


and 3 conditions

line !l l&&!r l&&r condition
11 0 0 1 $args{'domain'} and $args{'domain'} =~ /\.zendesk\.com\z/
0 0 1 $args{'domain'} and $args{'domain'} =~ /\.zendesk\.com\z/ and not $args{'domain'} =~ m[/]
14 1 0 0 exists $args{'api'} and $args{'api'} != 2
56 0 0 0 $type and $type eq 'GET' || $type eq 'POST' || $type eq 'PUT' || $type eq 'DELETE'
58 0 0 0 $path and not $path =~ m[\A/api]
59 0 0 0 $params and ref $params eq 'HASH'

or 2 conditions

line l !l condition
32 0 1 $args{'ua'} || undef

or 3 conditions

line l !l&&r !l&&!r condition
56 0 0 0 $type eq 'GET' || $type eq 'POST' || $type eq 'PUT' || $type eq 'DELETE'
62 0 0 0 $method eq 'post' || $method eq 'put'
99 1 1 0 $inner_key eq '=' or $inner_key eq 'or'