Condition Coverage

blib/lib/Dancer/Logger/File.pm
Criterion Covered Total %
condition 11 24 45.8


and 3 conditions

line !l l&&!r l&&r condition
23 1 15 0 $logroot and not -d $logroot
16 0 0 $logroot and not -d $logroot and not mkdir($logroot)
32 9 0 7 -d $expected_path and -x _
9 0 7 -d $expected_path and -x _ and -w _
34 0 0 9 -w $logroot and -x _
37 0 0 0 -w $logroot and -x _
76 0 0 20 ref $fh and $fh->opened

or 3 conditions

line l !l&&r !l&&!r condition
52 1 17 0 setting('log_file') || setting('environment') . '.log'