Condition Coverage

blib/lib/Facebook/OpenGraph.pm
Criterion Covered Total %
condition 43 57 75.4


and 3 conditions

line !l l&&!r l&&r condition
139 1 0 5 $self->redirect_uri and $self->app_id
253 2 2 6 $self->app_id and $self->secret
372 10 0 3 $q->{'method'} eq 'POST' and $q->{'body'}
415 40 0 0 &blessed($uri) and $uri->isa('URI')
530 49 2 5 $self->version and not $path =~ m[\A /v(?:\d+)\.(?:\d+)/ ]x
599 43 0 1 $object and ref $object eq 'HASH'
622 0 0 0 $r && $r eq 'HASH'

or 2 conditions

line l !l condition
21 41 25 shift() || {}
35 2 64 $args->{'batch_limit'} || 50
4 62 $args->{'is_beta'} || 0
3 63 $args->{'use_appsecret_proof'} || 0
3 63 $args->{'use_post_method'} || 0
3 63 $args->{'version'} || undef
88 46 13 $path || '/'
138 5 1 $param_ref ||= {}
161 0 4 $param_ref->{'display'} ||= 'page'
166 0 4 $param_ref->{'response_type'} ||= 'code'
439 2 38 $headers ||= []
567 44 0 $param_ref || {}

or 3 conditions

line l !l&&r !l&&!r condition
35 0 66 0 $args->{'json'} || 'JSON'->new->utf8
1 65 0 $args->{'ua'} || 'Furl::HTTP'->new('capture_request', 1, 'agent', 'Facebook::OpenGraph/' . $VERSION)
454 2 1 20 $param_ref->{'source'} or $param_ref->{'file'}
1 2 18 $param_ref->{'source'} or $param_ref->{'file'} or $param_ref->{'upload_phase'}