Condition Coverage

blib/lib/Plack/Test/Simple.pm
Criterion Covered Total %
condition 5 15 33.3


and 3 conditions

line !l l&&!r l&&r condition
82 0 0 3 @cmds == 3 and $cmds[0] =~ /^(get|post|put|delete|head|options|connect|patch|trace)$/
0 0 3 @cmds == 3 and $cmds[0] =~ /^(get|post|put|delete|head|options|connect|patch|trace)$/ and $cmds[1] eq 'returns'
0 0 3 @cmds == 3 and $cmds[0] =~ /^(get|post|put|delete|head|options|connect|patch|trace)$/ and $cmds[1] eq 'returns' and $cmds[2] =~ /^\d{3}$/

or 2 conditions

line l !l condition
65 4 0 $meth ||= 'get'
66 4 0 $path ||= '/'
91 0 0 ref $_[0] || $_[0] || 'main'