Branch Coverage

blib/lib/Test/WWW/Stub.pm
Criterion Covered Total %
branch 9 10 90.0


line true false branch
55 13 1 if defined wantarray
59 1 1 unless @Requests
92 3 2 if $_->method eq $method
95 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")
113 0 4 unless defined wantarray