Condition Coverage

blib/lib/Facebook/OpenGraph/Response.pm
Criterion Covered Total %
condition 25 33 75.7


and 3 conditions

line !l l&&!r l&&r condition
160 1 0 1 $self->code == 304 && $self->message eq 'Not Modified'

or 2 conditions

line l !l condition
11 57 1 shift() || {}
20 4 54 $args->{'req_headers'} || ''
0 58 $args->{'req_content'} || ''
123 1 4 $error->{'error_subcode'} || '-'
1 4 $error->{'error_user_title'} || '-'
1 4 $error->{'error_user_msg'} || '-'

or 3 conditions

line l !l&&r !l&&!r condition
20 53 5 0 $args->{'json'} || 'JSON'->new->utf8
49 3 0 11 $comp_major < $response_major || $comp_major == $response_major && $comp_minor <= $response_minor
62 3 0 5 $response_major < $comp_major || $response_major == $comp_major && $response_minor <= $comp_minor
70 15 9 0 $self->{'header'} ||= do { my $ref = {}; while (my($k, $v) = splice(@{$self->headers;}, 0, 2)) { do { $ref->{$k} = $v }; } ; $ref }
87 48 1 4 substr($self->code, 0, 1) == 2 || $self->code == 304
110 0 0 5 $@ or not $error