Condition Coverage

blib/lib/Dancer2/Test.pm
Criterion Covered Total %
condition 7 31 22.5


and 3 conditions

line !l l&&!r l&&r condition
467 2 0 0 not $$all_routes{$app->name}{'has_pod'} and @{$$all_routes{$app->name}{'routes'};}
589 0 0 4 $name eq $key and $value eq $val
610 0 0 0 $caller and $caller->can("dancer_app")

or 2 conditions

line l !l condition
154 0 2 $headers->{'Content-Type'} ||= "text/plain"
486 1 0 $test_name ||= "is pod covered"

or 3 conditions

line l !l&&r !l&&!r condition
232 0 4 0 $test_name ||= "response status is $status for " . _req_label($req)
281 0 4 0 $test_name ||= "response status is not $status for " . _req_label($req)
349 0 0 0 $test_name ||= "response content looks good for " . _req_label($req)
360 0 0 0 $test_name ||= "a file is returned for " . _req_label($req)
372 0 0 0 $test_name ||= "headers are as expected for " . _req_label($req)
387 0 4 0 $test_name ||= "headers include expected data for " . _req_label($req)