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
12 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[/]
15 1 0 0 exists $args{'api'} and $args{'api'} != 2
57 0 0 0 $type and $type eq 'GET' || $type eq 'POST' || $type eq 'PUT' || $type eq 'DELETE'
59 0 0 0 $path and not $path =~ m[\A/api]
60 0 0 0 $params and ref $params eq 'HASH'

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
57 0 0 0 $type eq 'GET' || $type eq 'POST' || $type eq 'PUT' || $type eq 'DELETE'
63 0 0 0 $method eq 'post' || $method eq 'put'
100 1 1 0 $inner_key eq '=' or $inner_key eq 'or'