Condition Coverage

blib/lib/Slay/Maker.pm
Criterion Covered Total %
condition 12 63 19.0


and 3 conditions

line !l l&&!r l&&r condition
621 2 0 0 not $$options{'stat_only'} and $self->e($target)
721 0 56 0 $length and substr($target, 0, 1) eq '/'
722 0 0 0 $length >= $cwd_length and substr($target, 0, $cwd_length) eq $cwd
0 0 0 $length >= $cwd_length and substr($target, 0, $cwd_length) eq $cwd and $length == $cwd_length || substr($target, $cwd_length, 1) eq '/'
0 0 0 defined $sym_cwd_cache and $real_cwd_cache eq $cwd
733 0 0 0 $length >= $cwd_length and substr($target, 0, $cwd_length) eq $sym_cwd_cache
0 0 0 $length >= $cwd_length and substr($target, 0, $cwd_length) eq $sym_cwd_cache and $length == $cwd_length || substr($target, $cwd_length, 1) eq '/'
747 71 62 0 $rank and !defined($best_rank) || $rank > $best_rank
752 0 0 0 $rank and !defined($best_rank) || $rank > $best_rank
832 27 0 0 $$options{'debug'} and not $self->make_level
982 0 1 1 $$options{'restore_if_unchanged'} and $self->target_unchanged($backup)
1067 0 0 0 defined $a and $a > $atime
1069 0 0 0 defined $m and $m > $mtime
1163 1 0 0 not $$context{'OPTIONS'}{'stat_only'} and length `diff --brief "$$context{'BACKUP'}" "$target"`

or 3 conditions

line l !l&&r !l&&!r condition
722 0 0 0 $length == $cwd_length || substr($target, $cwd_length, 1) eq '/'
733 0 0 0 $length == $cwd_length || substr($target, $cwd_length, 1) eq '/'
747 53 8 1 !defined($best_rank) || $rank > $best_rank
752 0 0 0 !defined($best_rank) || $rank > $best_rank
987 0 0 0 $$options{'debug'} or $$backup{'OPTIONS'}{'debug'}
993 0 0 1 $$options{'debug'} or $$backup{'OPTIONS'}{'debug'}
1055 0 0 0 $$options{'debug'} or $$backup{'OPTIONS'}{'debug'}