blib/lib/Finance/Card/Discover.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 16 | 37.5 |
line | true | false | branch |
---|---|---|---|
16 | 1 | 1 | unless $params{'username'} and $params{'password'} |
25 | 0 | 1 | if ($$self{'debug'}) { } |
0 | 1 | elsif ($$self{'compress'}) { } | |
39 | 1 | 0 | if ($ua) |
40 | 0 | 1 | unless ref $ua and $ua->isa('LWP::UserAgent') |
56 | 0 | 0 | unless $data and $$data{'Total'} |
81 | 0 | 0 | unless $res->is_success |
89 | 0 | 0 | if not %data or 'error' eq $data{'action'} |