blib/lib/Web/API/Mock.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 14 | 78.5 |
line | true | false | branch |
---|---|---|---|
20 | 0 | 2 | unless open my $fh, '<:encoding(utf8)', $file |
31 | 1 | 0 | if ($not_implemented_url_file) |
32 | 0 | 1 | unless open my $fh, '<:encoding(utf8)', $not_implemented_url_file |
51 | 2 | 11 | if ($self->check_implemented_url($req->method, $req->path_info)) { } |
56 | 3 | 8 | unless ($response and $$response{'status'}) |
72 | 5 | 8 | if ref $self->not_implemented_urls ne 'ARRAY' |
77 | 7 | 1 | unless ($url) |