Condition Coverage

blib/lib/File/HomeDir/Unix.pm
Criterion Covered Total %
condition 8 21 38.1


and 3 conditions

line !l l&&!r l&&r condition
29 0 18 0 defined $home and not -d $home
40 0 0 18 exists $ENV{'HOME'} and defined $ENV{'HOME'}
0 1 17 exists $ENV{'HOME'} and defined $ENV{'HOME'} and length $ENV{'HOME'}
47 1 0 0 exists $ENV{'LOGDIR'} and $ENV{'LOGDIR'}
63 0 0 1 $home and -d $home
126 0 0 0 $home and -d $home

or 3 conditions

line l !l&&r !l&&!r condition
73 17 1 0 $home ||= $class->_guess_determined_home($@)