Branch Coverage

blib/lib/File/BaseDir.pm
Criterion Covered Total %
branch 20 20 100.0


line true false branch
56 1 14 unless $ENV{'XDG_DATA_HOME'}
59 9 5 $ENV{'XDG_DATA_DIRS'} ? :
65 1 7 unless $ENV{'XDG_CONFIG_HOME'}
68 6 1 $ENV{'XDG_CONFIG_DIRS'} ? :
74 1 2 unless $ENV{'XDG_CACHE_HOME'}
102 2 3 if ref $_[0] or $_[0] =~ /::/
109 2 13 if ref $$file[0] or $$file[0] =~ /::/
111 7 8 if (wantarray) { }
112 13 14 if &$type($_)
118 6 12 if &$type($path) and -r $path