Condition Coverage

blib/lib/WWW/Bebo/API.pm
Criterion Covered Total %
condition 13 58 22.4


and 3 conditions

line !l l&&!r l&&r condition
243 0 0 0 $url =~ m[^https?://([^/]*\.)?bebo\.com(:\d+)?]imsx and $self->session_uid
392 0 2 1 not $$params{'callback'} and $self->callback
458 0 0 0 $self->parse and $self->format eq 'XML'
472 0 0 0 ref $response eq 'HASH' and not keys %{$response;}
473 0 0 0 ref $response eq 'ARRAY' and @{$response;} == 0

or 2 conditions

line l !l condition
301 0 0 shift() || 'www'
407 0 0 delete $args{'params'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
96 9 0 5 $$self{'app_path'} || $self->app_path
130 0 4 0 $ENV{$key} ||= $val
145 0 0 0 $$self{$ENV_VARS{$_}} ||= $ENV{$_ . $app_path}
148 0 4 0 $$self{$ENV_VARS{$_}} ||= $ENV{$_}
157 0 14 0 ref $self || $self
161 0 14 0 $$self{'ua'} ||= 'LWP::UserAgent'->new('agent', "Perl-WWW-Bebo-API/$VERSION")
226 0 3 0 $args{'secret'} || $self->secret
391 1 0 2 $$params{'session_key'} ||= $self->session_key
398 0 4 0 $$params{'v'} ||= $self->api_version
400 0 8 0 $$params{$_} ||= $self->$_
409 0 0 0 $$params{'secret'} ||= $self->secret
410 0 0 0 $$params{'method'} ||= $method
454 0 0 0 $self->desktop or $self->parse