blib/lib/Filesys/Virtual/Chroot.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 33 | 12.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
188 | 0 | 1 | 0 | $path and not $path =~ m[^/] |
211 | 1 | 0 | 0 | not $self->lchdir =~ /^$proot.*?/i and $self->{'i'} |
251 | 0 | 0 | 0 | $obj eq '..' and defined $path |
0 | 0 | 0 | $obj eq '..' and defined $path and $path eq '/' | |
258 | 0 | 0 | 0 | $path and not $path =~ m[^/] |
284 | 0 | 0 | 0 | not $self->lchdir =~ /^$proot.*?/i and $self->{'i'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
211 | 1 | 0 | 0 | $self->lchdir =~ /^$proot.*?/ || $self->{'i'} |
0 | 0 | 1 | not $self->lchdir =~ /^$proot.*?/ || $self->{'i'} or not $self->lchdir =~ /^$proot.*?/i and $self->{'i'} | |
251 | 0 | 0 | 0 | not defined $obj or $obj eq '..' and defined $path and $path eq '/' |
284 | 0 | 0 | 0 | $self->lchdir =~ /^$proot.*?/ || $self->{'i'} |
0 | 0 | 0 | not $self->lchdir =~ /^$proot.*?/ || $self->{'i'} or not $self->lchdir =~ /^$proot.*?/i and $self->{'i'} |