Condition Coverage

blib/lib/Text/Template/Simple/IO.pm
Criterion Covered Total %
condition 15 39 38.4


and 3 conditions

line !l l&&!r l&&r condition
56 0 0 4 -e $path && -d _
82 832 0 0 ref $file and fileno $file
114 0 828 0 $fh and fileno $fh
127 0 0 0 $i->uid != 0 and $i->uid != $<
138 0 828 0 !$bypass && $tmode & 8
153 246 0 1096 $self->_looks_like_file($file) && !(-d $file)
160 18 254 0 $self->_looks_like_file($file) && -d $file

or 2 conditions

line l !l condition
152 1342 0 shift() || (return)
159 272 0 shift() || (return)
179 1614 0 shift() || (return)

or 3 conditions

line l !l&&r !l&&!r condition
35 4 0 0 shift() || fatal('tts.io.validate.type')
36 4 0 0 shift() || fatal('tts.io.validate.path')
67 834 0 0 shift() || fatal('tts.io.layer.fh')
145 0 0 828 $go_write or $go_read