Branch Coverage

blib/lib/File/HomeDir/Unix.pm
Criterion Covered Total %
branch 5 12 41.6


line true false branch
29 0 18 if (defined $home and not -d $home)
40 17 1 if (exists $ENV{'HOME'} and defined $ENV{'HOME'} and length $ENV{'HOME'})
47 0 0 if (exists $ENV{'LOGDIR'} and $ENV{'LOGDIR'})
63 1 0 if $home and -d $home
118 1 0 if ($name eq getpwuid $<)
126 0 0 if $home and -d $home