blib/lib/Web/API/Mock/Parser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 12 | 83.3 |
line | true | false | branch |
---|---|---|---|
27 | 0 | 4 | if ($@) |
54 | 0 | 25 | unless $self->_resource_name |
56 | 15 | 10 | if ($self->_paragraph =~ /^body/i) { } |
9 | 1 | elsif ($self->_paragraph =~ /^header/i) { } | |
99 | 17 | 41 | if ($_[0] =~ /^response +(\d+) +\((.+?)\)/i) |
116 | 16 | 3 | if ($self->_resource_name and $self->_url and $self->_method and $self->_method =~ /^(GET|POST|PUT|DELETE)$/) |