blib/lib/Text/Template/Simple/IO.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 39 | 38.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
55 | 0 | 0 | 4 | -e $path && -d _ |
81 | 832 | 0 | 0 | ref $file and fileno $file |
113 | 0 | 828 | 0 | $fh and fileno $fh |
126 | 0 | 0 | 0 | $i->uid != 0 and $i->uid != $< |
137 | 0 | 828 | 0 | !$bypass && $tmode & 8 |
152 | 246 | 0 | 1096 | $self->_looks_like_file($file) && !(-d $file) |
159 | 18 | 254 | 0 | $self->_looks_like_file($file) && -d $file |
line | l | !l | condition |
---|---|---|---|
151 | 1342 | 0 | shift() || (return) |
158 | 272 | 0 | shift() || (return) |
178 | 1614 | 0 | shift() || (return) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
34 | 4 | 0 | 0 | shift() || fatal('tts.io.validate.type') |
35 | 4 | 0 | 0 | shift() || fatal('tts.io.validate.path') |
66 | 834 | 0 | 0 | shift() || fatal('tts.io.layer.fh') |
144 | 0 | 0 | 828 | $go_write or $go_read |