blib/lib/Test/Dir/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 22 | 62 | 35.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
69 | 0 | 0 | 2 | -d $sDir && _dir_is_empty($sDir) |
77 | 0 | 0 | 2 | -d $sDir && !_dir_is_empty($sDir) |
101 | 0 | 0 | 2 | -d $sDir && -r $sDir |
109 | 0 | 0 | 1 | -d $sDir && !(-r $sDir) |
117 | 0 | 0 | 2 | -d $sDir && -w $sDir |
125 | 0 | 0 | 1 | -d $sDir && !(-w $sDir) |
133 | 0 | 0 | 2 | -d $sDir && -x $sDir |
141 | 0 | 0 | 1 | -d $sDir && !(-x $sDir) |
line | l | !l | condition |
---|---|---|---|
35 | 19 | 0 | shift() || 0 |
36 | 19 | 0 | shift() || '' |
37 | 19 | 0 | shift() || '' |
83 | 4 | 0 | shift() || (return) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
52 | 0 | 0 | 4 | shift() || "$dir $sDir exists" |
60 | 0 | 0 | 2 | shift() || "$dir $sDir does not exist" |
68 | 0 | 0 | 2 | shift() || "$dir $sDir is empty" |
76 | 0 | 0 | 2 | shift() || "$dir $sDir is not empty" |
100 | 0 | 0 | 2 | shift() || "$dir $sDir is readable" |
108 | 0 | 0 | 1 | shift() || "$dir $sDir is not readable" |
116 | 0 | 0 | 2 | shift() || "$dir $sDir is writable" |
124 | 0 | 0 | 1 | shift() || "$dir $sDir is not writable" |
132 | 0 | 0 | 2 | shift() || "$dir $sDir is executable" |
140 | 0 | 0 | 1 | shift() || "$dir $sDir is not executable" |