| lib/Path/Extended/File.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 24 | 34 | 70.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 41 | 99 | 6 | 11 | $$self{'_compat'} and defined wantarray |
| 113 | 1 | 0 | 1 | $mode && $mode eq 'share' |
| 151 | 15 | 0 | 3 | @args == 1 && ref $args[0] eq 'HASH' |
| 197 | 19 | 3 | 3 | $filter and not $line =~ /$filter/ |
| 207 | 2 | 0 | 0 | @args == 1 && ref $args[0] eq 'HASH' |
| 219 | 31 | 0 | 1 | @args == 1 && ref $args[0] eq 'HASH' |
| line | l | !l | condition |
|---|---|---|---|
| 29 | 115 | 1 | $mode ||= 'r' |
| 155 | 3 | 15 | $$options{'iomode'} || 'r' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 188 | 6 | 0 | 12 | @callbacks or $filter |
| 2 | 0 | 10 | @callbacks or $filter or wantarray | |
| 226 | 0 | 0 | 32 | $$options{'mode'} || $$options{'append'} |
| 283 | 1 | 23 | 0 | $_[0]{'handle'} || $_[0]{'abs_path'} |