line |
true |
false |
branch |
38
|
27 |
4 |
unless ($$self{'_admin'}) |
|
27 |
1 |
unless ($$self{'_application'}) |
|
27 |
0 |
unless ($$self{'_auth'}) |
|
27 |
2 |
unless ($$self{'_canvas'}) |
|
27 |
0 |
unless ($$self{'_comments'}) |
|
27 |
0 |
unless ($$self{'_connect'}) |
|
27 |
0 |
unless ($$self{'_data'}) |
|
27 |
6 |
unless ($$self{'_events'}) |
|
27 |
6 |
unless ($$self{'_fbml'}) |
|
27 |
5 |
unless ($$self{'_feed'}) |
|
27 |
0 |
unless ($$self{'_fql'}) |
|
27 |
5 |
unless ($$self{'_friends'}) |
|
27 |
0 |
unless ($$self{'_groups'}) |
|
27 |
1 |
unless ($$self{'_intl'}) |
|
27 |
2 |
unless ($$self{'_links'}) |
|
27 |
1 |
unless ($$self{'_livemessage'}) |
|
27 |
1 |
unless ($$self{'_message'}) |
|
27 |
4 |
unless ($$self{'_notes'}) |
|
27 |
5 |
unless ($$self{'_notifications'}) |
|
27 |
4 |
unless ($$self{'_pages'}) |
|
27 |
4 |
unless ($$self{'_permissions'}) |
|
27 |
6 |
unless ($$self{'_photos'}) |
|
27 |
0 |
unless ($$self{'_profile'}) |
|
27 |
2 |
unless ($$self{'_sms'}) |
|
27 |
2 |
unless ($$self{'_status'}) |
|
27 |
10 |
unless ($$self{'_stream'}) |
|
27 |
6 |
unless ($$self{'_users'}) |
|
27 |
4 |
unless ($$self{'_video'}) |
88
|
0 |
49 |
if defined $_[0] |
|
27 |
22 |
if defined $$self{'api_key'} |
|
0 |
35 |
if defined $_[0] |
|
8 |
27 |
if defined $$self{'api_version'} |
|
0 |
27 |
if defined $_[0] |
|
0 |
27 |
if defined $$self{'app_id'} |
|
1 |
38 |
if defined $_[0] |
|
32 |
6 |
if defined $$self{'app_path'} |
|
0 |
29 |
if defined $_[0] |
|
2 |
27 |
if defined $$self{'apps_uri'} |
|
0 |
31 |
if defined $_[0] |
|
4 |
27 |
if defined $$self{'call_as_apikey'} |
|
1 |
35 |
if defined $_[0] |
|
8 |
27 |
if defined $$self{'callback'} |
|
0 |
27 |
if defined $_[0] |
|
1 |
26 |
if defined $$self{'config'} |
|
0 |
35 |
if defined $_[0] |
|
8 |
27 |
if defined $$self{'debug'} |
|
2 |
43 |
if defined $_[0] |
|
18 |
25 |
if defined $$self{'desktop'} |
|
0 |
42 |
if defined $_[0] |
|
15 |
27 |
if defined $$self{'format'} |
|
4 |
31 |
if defined $_[0] |
|
4 |
27 |
if defined $$self{'last_call_success'} |
|
0 |
31 |
if defined $_[0] |
|
4 |
27 |
if defined $$self{'last_error'} |
|
0 |
27 |
if defined $_[0] |
|
0 |
27 |
if defined $$self{'next'} |
|
0 |
39 |
if defined $_[0] |
|
12 |
27 |
if defined $$self{'parse'} |
|
0 |
27 |
if defined $_[0] |
|
0 |
27 |
if defined $$self{'popup'} |
|
0 |
35 |
if defined $_[0] |
|
8 |
27 |
if defined $$self{'query'} |
|
3 |
36 |
if defined $_[0] |
|
14 |
22 |
if defined $$self{'secret'} |
|
6 |
27 |
if defined $_[0] |
|
0 |
27 |
if defined $$self{'server_uri'} |
|
0 |
29 |
if defined $_[0] |
|
3 |
26 |
if defined $$self{'session_expires'} |
|
0 |
37 |
if defined $_[0] |
|
12 |
25 |
if defined $$self{'session_key'} |
|
0 |
29 |
if defined $_[0] |
|
3 |
26 |
if defined $$self{'session_uid'} |
|
0 |
27 |
if defined $_[0] |
|
0 |
27 |
if defined $$self{'skipcookie'} |
|
0 |
27 |
if defined $_[0] |
|
0 |
27 |
if defined $$self{'throw_errors'} |
|
0 |
27 |
if defined $_[0] |
|
27 |
0 |
if defined $$self{'ua'} |
114
|
1 |
26 |
if $$self{'config'} |
125
|
0 |
1 |
unless open my $config, '<', $$self{'config'} |
129
|
0 |
4 |
if $$self{'debug'} |
132
|
0 |
4 |
unless $key |
133
|
0 |
4 |
if $$self{'debug'} |
141
|
0 |
1 |
unless close $config |
152
|
3 |
105 |
if (exists $ENV{$_ . $app_path}) { } |
|
4 |
101 |
elsif (exists $ENV{$_}) { } |
195
|
4 |
0 |
if @_ |
196
|
0 |
4 |
if @_ |
205
|
0 |
4 |
if ($self->call_as_apikey) |
218
|
0 |
4 |
if $self->debug |
219
|
0 |
4 |
if ($self->_has_error_response($response)) |
220
|
0 |
0 |
if ($self->throw_errors) |
256
|
0 |
0 |
if ($self->canvas->in_fb_canvas) { } |
|
0 |
0 |
elsif ($url =~ m[^https?://([^/]*\.)?facebook\.com(:\d+)?]imsx and $self->session_uid) { } |
283
|
1 |
1 |
if ($what eq 'login') |
284
|
0 |
0 |
if $self->canvas->in_frame |
286
|
1 |
0 |
if ($what eq 'frame') |
287
|
0 |
0 |
if $self->canvas->in_frame |
293
|
0 |
0 |
if ($what eq 'add') |
294
|
0 |
0 |
unless ($self->canvas->get_fb_params->{'added'}) |
298
|
0 |
0 |
if $user |
313
|
4 |
3 |
if ($type eq 'facebook') |
318
|
1 |
2 |
if ($type eq 'app') |
322
|
0 |
2 |
if ($type eq 'custom') |
326
|
1 |
0 |
$type eq 'login' ? : |
|
0 |
1 |
$type eq 'infinite_session' ? : |
|
1 |
1 |
$type eq 'add' ? : |
345
|
6 |
3 |
if (@_) |
346
|
1 |
5 |
if (@_ % 2) |
349
|
1 |
0 |
if grep {$_ eq 'canvas';} @_ |
353
|
1 |
5 |
if delete $params{'canvas'} |
356
|
4 |
6 |
unless defined $params{$_} |
357
|
3 |
3 |
if $_ eq 'next' |
375
|
5 |
8 |
if $response =~ /\A"?"?\Z/msx |
376
|
2 |
6 |
if $response =~ /\A"?true"?\Z/msx |
377
|
2 |
4 |
if $response =~ /\A"?false"?\Z/msx |
380
|
1 |
3 |
unless (eval {
do {
$parser = _parser();
1
}
}) |
386
|
0 |
1 |
if $@ |
389
|
0 |
4 |
if $self->debug |
397
|
1 |
7 |
if ($self->desktop) |
398
|
1 |
0 |
if $self->desktop |
401
|
7 |
1 |
unless ($$params{'method'} =~ /^auth/msx) |
403
|
1 |
6 |
if (not $$params{'callback'} and $self->callback) |
427
|
1 |
26 |
if (ref $$params{$_} eq 'ARRAY') |
431
|
1 |
26 |
if (is_utf8 $$params{$_}) |
436
|
0 |
4 |
unless wantarray |
451
|
0 |
8 |
if ($response =~ /$_/msx) |
464
|
0 |
4 |
if ($$params{'callback'}) |
470
|
0 |
4 |
unless ($self->desktop or $self->parse) |
474
|
0 |
4 |
if ($self->parse and $self->format eq 'XML') |
476
|
0 |
0 |
if $self->debug |
478
|
0 |
4 |
unless $self->parse |
481
|
0 |
4 |
if $self->_is_empty_response($response) |
488
|
0 |
4 |
if ref $response eq 'HASH' and not keys %{$response;} |
489
|
0 |
4 |
if ref $response eq 'ARRAY' and @{$response;} == 0 |
499
|
0 |
0 |
if ($raw_data) |