Branch Coverage

blib/lib/Test/WWW/Stub.pm
Criterion Covered Total %
branch 11 14 78.5


line true false branch
47 9 0 if (not defined $register_g or _diff(\%import_options, \%options))
65 13 1 if defined wantarray
69 1 1 unless @Requests
102 3 2 if $_->method eq $method
105 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")
123 0 6 unless defined wantarray
140 0 5 unless @diff_a