Condition Coverage

blib/lib/WebService/ISBNDB/Agent.pm
Criterion Covered Total %
condition 8 26 30.7


and 3 conditions

line !l l&&!r l&&r condition
128 0 0 0 ref $$args{'useragent'} && $$args{'useragent'}->isa('LWP::UserAgent')
4 0 0 $$args{'useragent'} and not ref $$args{'useragent'} && $$args{'useragent'}->isa('LWP::UserAgent')
131 1 3 0 $$args{'agent_args'} and ref $$args{'agent_args'} ne 'HASH'
189 0 0 0 ref $agent and $agent->isa('LWP::UserAgent')

or 2 conditions

line l !l condition
103 3 1 shift @argz || {}

or 3 conditions

line l !l&&r !l&&!r condition
91 0 9 0 ref $class || $class
189 1 0 0 not defined $agent or ref $agent and $agent->isa('LWP::UserAgent')
311 0 1 0 ref $self || $self
496 0 0 0 ref $_[0] || $_[0]