| blib/lib/Test/Cmd.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 16 | 37 | 43.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 432 | 0 | 0 | 0 | defined $_ and -d $_ |
| 0 | 0 | 0 | defined $_ and -d $_ and -w $_ | |
| 759 | 6 | 109 | 0 | ref $destref ne 'SCALAR' and ref $destref ne 'ARRAY' |
| 842 | 208 | 52 | 18 | -d $_ and $_ ne '.' |
| line | l | !l | condition |
|---|---|---|---|
| 452 | 0 | 42 | $ENV{'VERBOSE'} || 0 |
| 455 | 0 | 0 | $ENV{'PRESERVE'} || 0 |
| 456 | 0 | 0 | $ENV{'PRESERVE'} || 0 |
| 457 | 0 | 0 | $ENV{'PRESERVE'} || 0 |
| 459 | 0 | 42 | $ENV{'PRESERVE_FAIL'} || 0 |
| 460 | 0 | 42 | $ENV{'PRESERVE_PASS'} || 0 |
| 461 | 0 | 42 | $ENV{'PRESERVE_NO_RESULT'} || 0 |
| 480 | 42 | 0 | @Cond[$?] || 'no_result' |
| 533 | 1 | 61 | $self->{'match_sub'} || \&Test::Cmd::match_regex |
| 797 | 1 | 55 | $err || {} |
| 999 | 0 | 0 | ref $v || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 649 | 5 | 49 | 0 | $workdir || $self->_workdir_name |