blib/lib/Plack/Test/Simple.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 7 | 10 | 70.0 |
line | true | false | branch |
---|---|---|---|
22 | 0 | 1 | 'HASH' eq ref $args[0] ? : |
1 | 0 | @args == 1 ? : | |
71 | 2 | 2 | if (defined $cont) |
72 | 1 | 1 | ref $cont ? : |
82 | 3 | 0 | if @cmds == 3 and $cmds[0] =~ /^(get|post|put|delete|head|options|connect|patch|trace)$/ and $cmds[1] eq 'returns' and $cmds[2] =~ /^\d{3}$/ |