Condition Coverage

lib/Finance/Robinhood.pm
Criterion Covered Total %
condition 10 53 18.8


and 3 conditions

line !l l&&!r l&&r condition
77 0 0 0 $ctx->is_blessed && $ctx->class eq 'Mojo::UserAgent'
84 1 0 0 $Data::Dump::VERSION and require Data::Dump::Filtered
103 188 0 0 $s->oauth2_token && $url =~ m[^https://[a-z]+\.robinhood\.com/.+$]
124 188 0 0 $retval->res->code == 401 and $s->_refresh_login_token
141 1 0 0 $s->oauth2_token && $url =~ m[^https://[a-z]+\.robinhood\.com/.+$]
152 1 0 0 $retval->res->code == 401 and $s->_refresh_login_token
184 1 0 0 $s->oauth2_token && $url =~ m[^https://[a-z]+\.robinhood\.com/.+$] && !delete $data{'no_auth_token'}
198 1 0 0 $retval->res->code == 401 and $s->_refresh_login_token
223 2 0 0 $s->oauth2_token && $url =~ m[^https://[a-z]+\.robinhood\.com/.+$] && !delete $data{'no_auth_token'}
230 2 0 0 $retval->res->code == 401 and $s->_refresh_login_token
251 0 0 0 $s->oauth2_token && $url =~ m[^https://[a-z]+\.robinhood\.com/.+$] && !delete $data{'no_auth_token'}
258 0 0 0 $retval->res->code == 401 and $s->_refresh_login_token
1400 0 0 0 defined $filters{'range'} and $filters{'range'} =~ /^\-?\d+$/

or 2 conditions

line l !l condition
372 0 0 $opt{'grant_type'} // 'password'
419 0 0 $s->oauth2_token // (return)
435 0 0 $opt{'grant_type'} // 'password'
1058 0 1 $filter{'direction'} //= 'up'

or 3 conditions

line l !l&&r !l&&!r condition
372 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')
435 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')