Branch Coverage

blib/lib/Yahoo/BBAuth.pm
Criterion Covered Total %
branch 4 50 8.0


line true false branch
25 0 1 unless exists $param{'appid'} and exists $param{'secret'}
37 0 1 if exists $param{'appdata'}
38 0 1 if exists $param{'send_userhash'}
45 0 1 unless (ref $url)
58 0 0 if defined $cgi->param('userhash')
59 0 0 if defined $cgi->param('appdata')
60 0 0 exists $param{'ts'} ? :
61 0 0 exists $param{'sig'} ? :
63 0 0 unless (defined $get_sig)
67 0 0 if ($get_sig ne $sig)
73 0 0 if ($clock_skew >= 600)
79 0 0 if ($calculated_sig eq $sig) { }
92 0 0 if ($res->is_error)
97 0 0 if ($content =~ m[(.+)])
101 0 0 if ($content =~ /(Y=.*)/) { }
107 0 0 if ($content =~ m[(.+)]) { }
113 0 0 if ($content =~ m[(.+)]) { }
124 0 0 unless (defined $$self{'token'})
135 0 0 unless (defined $$self{'cookie'})
136 0 0 unless ($self->_get_access_credentials)
140 0 0 unless (ref $url)
163 0 0 unless ($url)
169 0 0 if ($res->is_error)
178 0 0 unless ($self->_get_access_credentials)
195 0 0 if ($res->is_error)