Condition Coverage

blib/lib/Reddit/Client/Request.pm
Criterion Covered Total %
condition 12 26 46.1


and 3 conditions

line !l l&&!r l&&r condition
76 3 0 0 $self->{'tokentype'} and $self->{'token'}
126 1 0 0 $self->{'print_request_on_error'} and not $self->{'print_request'}

or 2 conditions

line l !l condition
44 0 1 $param{'request_errors'} || 0
45 0 1 $param{'print_response'} || 0
46 0 1 $param{'print_request'} || 0
47 0 1 $param{'print_request_on_error'} || 0
59 1 0 $param{'method'} || 'GET'
79 3 0 $self->{'post_data'} || {}
89 0 0 $self->{'post_data'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
36 2 1 0 $param{'user_agent'} || croak('Expected "user_agent"')
37 1 0 1 $param{'url'} || croak('Expected "url"')