| lib/Path/Extended/Entity.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 18 | 24 | 75.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 51 | 0 | 198 | 101 | @parts and $parts[0] eq '..' |
| 0 | 188 | 10 | @parts and 'File::Spec'->file_name_is_absolute($parts[0]) | |
| 79 | 76 | 4 | 220 | $$self{'_stringify_absolute'} && !$$self{'_base'} |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 42 | 359 | 113 | 27 | $$self{'_stringify_absolute'} ||= 'File::Spec'->file_name_is_absolute($path) |
| 132 | 2 | 5 | 83 | $options{'base'} || $$self{'_base'} |
| 62 | 7 | 83 | $base ||= $options{'base'} || $$self{'_base'} | |
| 235 | 1 | 5 | 0 | $$self{'handle'} || $$self{'abs_path'} |
| 242 | 0 | 0 | 0 | $$self{'handle'} || $$self{'abs_path'} |