Branch Coverage

blib/lib/LWP/UserAgent/msgraph.pm
Criterion Covered Total %
branch 11 52 21.1


line true false branch
30 3 8 if (exists $args{$_})
37 1 0 unless (exists $internals{'sid'})
44 1 0 unless exists $internals{'base'}
47 1 0 unless exists $internals{'console'}
50 1 0 unless $internals{'local_port'}
54 0 3 unless exists $internals{$_}
58 0 1 if exists $internals{'store'} and not exists $internals{'persistent'}
59 1 0 unless exists $internals{'persistent'}
61 0 1 if ($internals{'persistent'} and not exists $internals{'store'})
66 0 1 if ($internals{'persistent'} and -r $internals{'store'})
68 0 0 unless $stored->{'sid'} eq $sid
87 0 0 unless $self->{'persistent'}
109 0 0 if $payload
116 0 0 if ($res->is_success) { }
118 0 0 if (exists $data->{'@odata.nextLink'}) { }
139 0 0 if ($self->{'nextLink'}) { }
202 0 0 if ($id and $id eq $self->sid) { }
221 0 0 if ($self->{'grant_type'} eq 'client_credentials') { }
0 0 elsif ($self->{'grant_type'} eq 'authorization_code') { }
234 0 0 unless $code or not $self->{'console'}
235 0 0 unless $code
250 0 0 unless $post
253 0 0 unless ($r->is_success)
263 0 0 if $self->{'presistent'}
368 0 0 if ($path =~ m[^/auth]) { }
0 0 elsif ($path =~ m[^/start]) { }