Branch Coverage

blib/lib/Mojolicious/Plugin/MethodOverride.pm
Criterion Covered Total %
branch 14 14 100.0


line true false branch
13 3 1 exists $$conf{'header'} ? :
15 3 1 exists $$conf{'param'} ? :
26 4 35 unless $req->method eq 'POST'
30 8 27 if ($method) { }
21 6 elsif (defined $param) { }
37 21 14 if ($method and $method =~ /^[A-Za-z]+$/)
45 3 1 if (defined $param)