Condition Coverage

blib/lib/AppleII/ProDOS.pm
Criterion Covered Total %
condition 14 50 28.0


and 3 conditions

line !l l&&!r l&&r condition
211 3 0 0 $#directories and $newpath =~ s[^\.\.(?:/|$)][]
233 0 19 0 ref $self and exists $self->{'_dir_methods'}{$name}
536 0 0 1 $startBlock and $diskSize
915 0 0 0 $_->name =~ /$pattern/i && &$filter($_)
1107 17 0 7 @entries and $entries[0]{'num'} == $entry
1642 0 0 0 $_[1] =~ /^[0-9]+$/ && $_[1] >= 0 && $_[1] <= $check

or 2 conditions

line l !l condition
113 0 0 $mode || ''

or 3 conditions

line l !l&&r !l&&!r condition
434 0 0 2 $minute > 59 or $hour > 23
0 0 2 $minute > 59 or $hour > 23 or $year > 99
0 0 2 $minute > 59 or $hour > 23 or $year > 99 or $month > 12
0 0 2 $minute > 59 or $hour > 23 or $year > 99 or $month > 12 or $month < 1
0 0 2 $minute > 59 or $hour > 23 or $year > 99 or $month > 12 or $month < 1 or $day > 31
0 0 2 $minute > 59 or $hour > 23 or $year > 99 or $month > 12 or $month < 1 or $day > 31 or $day < 1
593 0 0 0 $block < 0 or $block >= $self->{'diskSize'}
612 0 0 13 $block < 0 or $block >= $diskSize
883 10 0 0 $self->find_entry($filename) || a2_croak("No such file `${filename}'")
993 2 0 0 $self->find_entry($dir) || a2_croak("No such directory `${dir}'")