Condition Coverage

blib/lib/Test/Override/UserAgent.pm
Criterion Covered Total %
condition 22 23 95.6


and 3 conditions

line !l l&&!r l&&r condition
63 44 1 15 not defined $response and exists $args{'live_request_handler'}
296 1 1 41 defined $response_type and $response_type eq 'ARRAY'
442 31 1 1 $has_content_length and $code =~ /\A 1 | [23]04/msx

or 2 conditions

line l !l condition
151 18 1 $args{'for'} || 'testing'

or 3 conditions

line l !l&&r !l&&!r condition
268 2 1 73 $key eq 'url' or $key eq 'uri'
356 2 1 56 $key =~ /(?:\A status \z | [:\n] | [_-] \z)/imsx || !($key =~ /\A [a-z] [a-z0-9_-]* \z/imsx)
362 1 1 57 ref $value ne '' || $value =~ /[\x00-\x19\x21-\x25]/imsx
438 32 0 4 $has_content_type or $code =~ /\A 1 | [23]04/msx