blib/lib/Plack/Middleware/StackTrace/LinkedSource.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 18 | 66.6 |
line | true | false | branch |
---|---|---|---|
19 | 6 | 0 | if (not $self->lib) { } |
0 | 0 | elsif (ref $self->lib ne 'ARRAY') { } | |
26 | 6 | 0 | unless ($self->viewer) |
33 | 4 | 2 | unless $self->view_root |
41 | 1 | 5 | unless ($self->{'_enabled'}) |
47 | 2 | 3 | if ($env->{'PATH_INFO'} =~ /^$path/) |
56 | 3 | 0 | if ($res->[0] == 500 and Plack::Util::header_get($res->[1], 'content-type') =~ m[text/html]) |
69 | 3 | 33 | if $lib_path eq '.' |
70 | 0 | 33 | if $^O eq 'MSWin32' |