blib/lib/GitLab/API/v4/Mock/RESTClient.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 12 | 75.0 |
line | true | false | branch |
---|---|---|---|
45 | 0 | 11 | if $req_method ne "request" |
56 | 13 | 11 | if $endpoint_method ne $http_method |
57 | 0 | 11 | unless $path =~ /$path_re/ |
67 | 6 | 5 | if ref $content |
70 | 11 | 0 | $status =~ /^2\d\d$/ ? : |
6 | 5 | defined $content ? : |