blib/lib/Test/WWW/Stub.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 12 | 91.6 |
line | true | false | branch |
---|---|---|---|
55 | 2 | 9 | if ($old_handler) { } |
60 | 11 | 1 | if defined wantarray |
64 | 1 | 1 | unless @Requests |
97 | 3 | 2 | if $_->method eq $method |
100 | 2 | 1 | unless &Test::More::ok(scalar &List::MoreUtils::any(sub { my $req_url = _normalize_uri($_->uri); $req_url eq $url if $_->method eq $method; } , @Requests), "stubbed $method $url") |
118 | 0 | 4 | unless defined wantarray |