Condition Coverage

blib/lib/Facebook/OpenGraph.pm
Criterion Covered Total %
condition 40 54 74.0


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 38 0 0 &blessed($uri) and $uri->isa('URI')
530 47 2 5 $self->version and not $path =~ m[\A /v(?:\d+)\.(?:\d+)/ ]x
596 41 0 1 $object and ref $object eq 'HASH'
619 0 0 0 $r && $r eq 'HASH'

or 2 conditions

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

or 3 conditions

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