line |
true |
false |
branch |
33
|
14 |
0 |
unless ($$self{'_auth'}) |
|
14 |
16 |
unless ($$self{'_canvas'}) |
|
14 |
0 |
unless ($$self{'_events'}) |
|
14 |
3 |
unless ($$self{'_fbml'}) |
|
14 |
3 |
unless ($$self{'_feed'}) |
|
14 |
0 |
unless ($$self{'_fql'}) |
|
14 |
3 |
unless ($$self{'_friends'}) |
|
14 |
0 |
unless ($$self{'_groups'}) |
|
14 |
6 |
unless ($$self{'_marketplace'}) |
|
14 |
1 |
unless ($$self{'_notifications'}) |
|
14 |
4 |
unless ($$self{'_pages'}) |
|
14 |
6 |
unless ($$self{'_photos'}) |
|
14 |
0 |
unless ($$self{'_profile'}) |
|
14 |
5 |
unless ($$self{'_users'}) |
82
|
1 |
24 |
if defined $_[0] |
|
13 |
11 |
if defined $$self{'api_key'} |
|
0 |
18 |
if defined $_[0] |
|
4 |
14 |
if defined $$self{'api_version'} |
|
0 |
14 |
if defined $_[0] |
|
0 |
14 |
if defined $$self{'app_id'} |
|
0 |
19 |
if defined $_[0] |
|
14 |
5 |
if defined $$self{'app_path'} |
|
0 |
14 |
if defined $_[0] |
|
0 |
14 |
if defined $$self{'apps_uri'} |
|
1 |
18 |
if defined $_[0] |
|
4 |
14 |
if defined $$self{'callback'} |
|
0 |
14 |
if defined $_[0] |
|
1 |
13 |
if defined $$self{'config'} |
|
0 |
15 |
if defined $_[0] |
|
1 |
14 |
if defined $$self{'debug'} |
|
2 |
21 |
if defined $_[0] |
|
8 |
13 |
if defined $$self{'desktop'} |
|
0 |
18 |
if defined $_[0] |
|
4 |
14 |
if defined $$self{'format'} |
|
0 |
14 |
if defined $_[0] |
|
0 |
14 |
if defined $$self{'last_call_success'} |
|
0 |
14 |
if defined $_[0] |
|
0 |
14 |
if defined $$self{'last_error'} |
|
0 |
14 |
if defined $_[0] |
|
0 |
14 |
if defined $$self{'next'} |
|
0 |
14 |
if defined $_[0] |
|
0 |
14 |
if defined $$self{'parse'} |
|
0 |
14 |
if defined $_[0] |
|
0 |
14 |
if defined $$self{'popup'} |
|
7 |
108 |
if defined $_[0] |
|
94 |
14 |
if defined $$self{'query'} |
|
2 |
20 |
if defined $_[0] |
|
9 |
11 |
if defined $$self{'secret'} |
|
0 |
14 |
if defined $_[0] |
|
0 |
14 |
if defined $$self{'server_uri'} |
|
0 |
14 |
if defined $_[0] |
|
0 |
14 |
if defined $$self{'session_expires'} |
|
0 |
18 |
if defined $_[0] |
|
5 |
13 |
if defined $$self{'session_key'} |
|
0 |
14 |
if defined $_[0] |
|
0 |
14 |
if defined $$self{'session_uid'} |
|
0 |
14 |
if defined $_[0] |
|
0 |
14 |
if defined $$self{'skipcookie'} |
|
0 |
14 |
if defined $_[0] |
|
0 |
14 |
if defined $$self{'throw_errors'} |
|
0 |
14 |
if defined $_[0] |
|
14 |
0 |
if defined $$self{'ua'} |
107
|
1 |
13 |
if $$self{'config'} |
117
|
0 |
1 |
unless open my $config, '<', $$self{'config'} |
121
|
0 |
4 |
if $$self{'debug'} |
124
|
0 |
4 |
unless $key |
125
|
0 |
4 |
if $$self{'debug'} |
133
|
0 |
1 |
unless close $config |
144
|
0 |
56 |
if (exists $ENV{$_ . $app_path}) { } |
|
4 |
52 |
elsif (exists $ENV{$_}) { } |
187
|
0 |
0 |
if @_ |
188
|
0 |
0 |
if @_ |
206
|
0 |
0 |
if $self->debug |
207
|
0 |
0 |
if ($self->_has_error_response($response)) |
208
|
0 |
0 |
if ($self->throw_errors) |
243
|
0 |
0 |
if ($self->canvas->in_fb_canvas) { } |
|
0 |
0 |
elsif ($url =~ m[^https?://([^/]*\.)?bebo\.com(:\d+)?]imsx and $self->session_uid) { } |
270
|
0 |
0 |
if ($what eq 'login') |
271
|
0 |
0 |
if $self->canvas->in_frame |
273
|
0 |
0 |
if ($what eq 'frame') |
274
|
0 |
0 |
if $self->canvas->in_frame |
280
|
0 |
0 |
if ($what eq 'add') |
281
|
0 |
0 |
unless ($self->canvas->get_fb_params->{'added'}) |
285
|
0 |
0 |
if $user |
300
|
0 |
0 |
if ($type eq 'bebo') |
305
|
0 |
0 |
if ($type eq 'app') |
309
|
0 |
0 |
if ($type eq 'custom') |
313
|
0 |
0 |
$type eq 'login' ? : |
|
0 |
0 |
$type eq 'infinite_session' ? : |
|
0 |
0 |
$type eq 'add' ? : |
332
|
4 |
0 |
if (@_) |
333
|
1 |
3 |
if (@_ % 2) |
336
|
1 |
0 |
if grep {$_ eq 'canvas';} @_ |
340
|
1 |
3 |
if delete $params{'canvas'} |
343
|
4 |
4 |
unless defined $params{$_} |
344
|
2 |
2 |
if $_ eq 'next' |
355
|
0 |
1 |
if $parser->handlerType eq 'JSON::XS' |
363
|
0 |
3 |
if $response =~ /\A"?"?\Z/msx |
364
|
2 |
1 |
if $response =~ /\A"?true"?\Z/msx |
365
|
0 |
1 |
if $response =~ /\A"?false"?\Z/msx |
372
|
1 |
0 |
if ($@) |
375
|
0 |
1 |
if $@ |
378
|
0 |
1 |
if $self->debug |
386
|
1 |
3 |
if ($self->desktop) |
387
|
1 |
0 |
if $self->desktop |
390
|
3 |
1 |
unless ($$params{'method'} =~ /^auth/msx) |
392
|
1 |
2 |
if (not $$params{'callback'} and $self->callback) |
416
|
0 |
0 |
unless ref $$params{$_} eq 'ARRAY' |
420
|
0 |
0 |
unless wantarray |
435
|
0 |
0 |
if ($response =~ /$_/msx) |
448
|
0 |
0 |
if ($$params{'callback'}) |
454
|
0 |
0 |
unless ($self->desktop or $self->parse) |
458
|
0 |
0 |
if ($self->parse and $self->format eq 'XML') |
460
|
0 |
0 |
if $self->debug |
462
|
0 |
0 |
unless $self->parse |
465
|
0 |
0 |
if $self->_is_empty_response($response) |
472
|
0 |
0 |
if ref $response eq 'HASH' and not keys %{$response;} |
473
|
0 |
0 |
if ref $response eq 'ARRAY' and @{$response;} == 0 |
483
|
0 |
0 |
if ($img_data) |