blib/lib/Shared/Examples/Net/Amazon/S3/Request.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 20 | 85.0 |
line | true | false | branch |
---|---|---|---|
31 | 130 | 78 | unless $xml |
32 | 0 | 78 | if ref $xml |
41 | 36 | 42 | unless defined $canonical |
93 | 6 | 64 | if (exists $params{'throws'}) { } |
94 | 0 | 6 | if (defined $request) { } |
100 | 0 | 64 | unless &ok(defined $request, "should create (mocked) instance of $params{'request_class'}") |
176 | 54 | 10 | if exists $params{'expect_request_uri'} |
179 | 58 | 6 | if exists $params{'expect_request_method'} |
182 | 54 | 10 | if exists $params{'expect_request_headers'} |
185 | 40 | 24 | if exists $params{'expect_request_content'} |