Condition Coverage

blib/lib/Test/LWP/UserAgent.pm
Criterion Covered Total %
condition 19 29 65.5


and 3 conditions

line !l l&&!r l&&r condition
41 0 0 23 defined $self->agent and $self->agent eq $self->_agent
50 26 0 4 not defined $response and &blessed($self)
236 22 20 0 not defined $matched_response and $self->{'__network_fallback'} || $network_fallback
317 0 0 0 'HTTP::Request'->can('to_psgi') and 'HTTP::Response'->can('from_psgi')

or 2 conditions

line l !l condition
335 51 24 &reftype($_[0]) || ''

or 3 conditions

line l !l&&r !l&&!r condition
236 5 3 12 $self->{'__network_fallback'} || $network_fallback
280 0 0 2 &blessed($response) || (ref $response ? 'unblessed ' . ref($response) : 'non-reference')
335 20 1 74 ref $_[0] eq 'CODE' or (&reftype($_[0]) || '') eq 'CODE'
349 6 17 3 __isa_coderef($_[0]) || $_[0]->$Test::LWP::UserAgent::_isa('HTTP::Response')
1 0 2 &blessed($_[0]) || (ref $_[0] ? 'unblessed ' . ref($_[0]) : 'non-reference')