Condition Coverage

blib/lib/Test/TempDir/Tiny.pm
Criterion Covered Total %
condition 5 32 15.6


and 3 conditions

line !l l&&!r l&&r condition
72 2 0 5 $ROOT_DIR and $TEST_DIR
121 0 0 2 -d 't' and -w $DEFAULT_ROOT || -w '.'
0 0 0 _inside_t_dir() and -w '../$DEFAULT_ROOT' || -w '..'
171 0 0 0 -e $ROOT_DIR and not -d _
190 0 0 0 $ROOT_DIR and -d $ROOT_DIR

or 2 conditions

line l !l condition
109 0 0 $err || 'error from eval was lost'

or 3 conditions

line l !l&&r !l&&!r condition
108 1 0 0 chdir $cwd or chdir '/'
121 0 2 0 -w $DEFAULT_ROOT || -w '.'
0 0 0 -w '../$DEFAULT_ROOT' || -w '..'
193 0 0 0 $SYSTEM_TEMP or not $?
194 0 0 0 chdir _untaint($ORIGINAL_CWD) or chdir '/'