Condition Coverage

lib/Finance/Robinhood.pm
Criterion Covered Total %
condition 9 45 20.0


and 3 conditions

line !l l&&!r l&&r condition
73 187 0 0 $s->_token && $url =~ m[^https://[a-z]+\.robinhood\.com/.+$]
89 187 0 0 $retval->res->code == 401 and $s->_refresh_login_token
108 1 0 0 $s->_token && $url =~ m[^https://[a-z]+\.robinhood\.com/.+$]
119 1 0 0 $retval->res->code == 401 and $s->_refresh_login_token
139 1 0 0 $s->_token && $url =~ m[^https://[a-z]+\.robinhood\.com/.+$] && !delete $data{'no_auth_token'}
153 1 0 0 $retval->res->code == 401 and $s->_refresh_login_token
176 2 0 0 $s->_token && $url =~ m[^https://[a-z]+\.robinhood\.com/.+$] && !delete $data{'no_auth_token'}
185 2 0 0 $retval->res->code == 401 and $s->_refresh_login_token
204 0 0 0 $s->_token && $url =~ m[^https://[a-z]+\.robinhood\.com/.+$] && !delete $data{'no_auth_token'}
213 0 0 0 $retval->res->code == 401 and $s->_refresh_login_token
1255 0 0 0 defined $filters{'range'} and $filters{'range'} =~ /^\-?\d+$/

or 2 conditions

line l !l condition
268 0 0 $opt{'grant_type'} // 'password'
311 0 0 $opt{'grant_type'} // 'password'
924 0 1 $filter{'direction'} //= 'up'

or 3 conditions

line l !l&&r !l&&!r condition
268 0 0 0 $opt{'client_id'} // sub { my(@k, $c) = split(//, shift(), 0); map {unshift @k, pop @k; $c .= chr(ord $_ ^ ord $k[0]);} split(//, qq{\aW];&Y55\035I[\a,6&>[5\034\036\f\cB]]\$\cW9L\\\cK4<;,"*&\cE);}, 0); $c; } ->('Finance::Robinhood')
311 0 0 0 $opt{'client_id'} // sub { my(@k, $c) = split(//, shift(), 0); map {unshift @k, pop @k; $c .= chr(ord $_ ^ ord $k[0]);} split(//, qq{\aW];&Y55\035I[\a,6&>[5\034\036\f\cB]]\$\cW9L\\\cK4<;,"*&\cE);}, 0); $c; } ->('Finance::Robinhood')