Condition Coverage

blib/lib/Net/Facebook/Oauth2.pm
Criterion Covered Total %
condition 6 24 25.0


and 3 conditions

line !l l&&!r l&&r condition
13 2 0 0 $time[5] >= 118 and $time[4] > 8

or 2 conditions

line l !l condition
39 0 5 $options{'access_token_url'} || 'https://graph.facebook.com/v2.8/oauth/access_token'
40 0 5 $options{'authorize_url'} || 'https://www.facebook.com/v2.8/dialog/oauth'
41 0 5 $options{'display'} || 'page'

or 3 conditions

line l !l&&r !l&&!r condition
38 1 4 0 $options{'browser'} || 'LWP::UserAgent'->new
50 0 0 0 $params{'callback'} ||= $self->{'options'}{'callback'}
78 0 0 0 $params{'callback'} ||= $self->{'options'}{'callback'}
79 0 0 0 $params{'code'} ||= $self->{'options'}{'code'}
98 0 0 0 not $response->is_success or exists $json->{'error'}