Condition Coverage

blib/lib/PAGI/App/Directory.pm
Criterion Covered Total %
condition 10 22 45.4


and 3 conditions

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

or 2 conditions

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

or 3 conditions

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