Branch Coverage

blib/lib/Plack/Middleware/CustomErrorDocument.pm
Criterion Covered Total %
branch 14 20 70.0


line true false branch
26 8 6 unless (is_error($$r[0]) and exists $$self{$$r[0]})
30 3 3 ref $$self{$$r[0]} ? :
35 0 6 unless $path
37 1 5 if ($self->subrequest) { }
39 13 9 unless ($key =~ /^psgi/)
53 1 0 if ($$sub_r[0] == 200)
67 0 5 unless open my $fh, '<', $path
68 4 1 if ($$r[2]) { }
73 2 0 unless ($done)
77 0 0 defined $_[0] ? :