| blib/script/applypatch | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 13 | 46 | 28.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 140 | 0 | 0 | 1 | defined $timestamp and defined $2 |
| 0 | 1 | 0 | defined $timestamp and defined $2 and $2 ne $timestamp | |
| 535 | 0 | 0 | 0 | defined $exit and $exit != 0 |
| line | l | !l | condition |
|---|---|---|---|
| 411 | 1 | 0 | $p->close or die qq[Possible problems with "$patch", status = $?.\n] |
| 456 | 0 | 1 | $ENV{'SIMPLE_BACKUP_SUFFIX'} || '.orig' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 171 | 0 | 1 | 0 | $1 == $all_lines or not $verbose |
| 174 | 0 | 1 | 0 | $2 == $all_bytes or not $verbose |
| 177 | 0 | 1 | 0 | $3 == $all_sum or not $verbose |
| 292 | 0 | 2 | 0 | $op eq 'r' or $op eq 'p' |
| 2 | 0 | 0 | $op eq 'r' or $op eq 'p' or $op eq 'v' | |
| 293 | 0 | 0 | 0 | -f $fn or -d _ |
| 300 | 0 | 0 | 0 | -f $fn or -d _ |
| 423 | 2 | 0 | 0 | utime $mtime, $mtime, $fn or -d $fn |
| 461 | 0 | 0 | 2 | $op eq 'c' or $op eq 'C' |
| 0 | 2 | 0 | $op eq 'c' or $op eq 'C' or $op eq 'p' | |
| 517 | 0 | 0 | 1 | not &GetOptions(@opts) or $help |