Condition Coverage

blib/lib/PAGI/App/Directory.pm
Criterion Covered Total %
condition 12 22 54.5


and 3 conditions

line !l l&&!r l&&r condition
109 0 7 3 not $self->{'show_hidden'} and $entry =~ /^\./
182 2 0 0 $size >= 1024 and $i < $#units

or 2 conditions

line l !l condition
29 0 14 $args{'show_hidden'} // 0
66 6 0 $scope->{'path'} // "/"
113 7 0 $stat[7] // 0
7 0 $stat[9] // 0
126 1 2 $self->_get_header($scope, "accept") // ""

or 3 conditions

line l !l&&r !l&&!r condition
31 14 0 0 realpath($self->{'root'}) // $self->{'root'}
72 0 2 4 not $real_dir or index($real_dir, $real_root) != 0