Condition Coverage

blib/lib/File/XDG.pm
Criterion Covered Total %
condition 15 41 36.5


and 3 conditions

line !l l&&!r l&&r condition
69 17 0 0 $^O eq "MSWin32" and $strict

or 2 conditions

line l !l condition
90 0 0 $ENV{'XDG_DATA_DIRS'} || ''
91 0 0 $ENV{'XDG_CONFIG_DIRS'} || ''
99 5 12 $ENV{'XDG_DATA_DIRS'} || '/usr/local/share:/usr/share'
100 5 12 $ENV{'XDG_CONFIG_DIRS'} || '/etc/xdg'

or 3 conditions

line l !l&&r !l&&!r condition
25 14 3 0 $api == 0 or $api == 1
86 0 0 0 $ENV{'XDG_DATA_HOME'} || "$local\\.local\\share\\"
87 0 0 0 $ENV{'XDG_CACHE_HOME'} || "$local\\.cache\\"
88 0 0 0 $ENV{'XDG_CONFIG_HOME'} || "$local\\.config\\"
89 0 0 0 $ENV{'XDG_STATE_HOME'} || "$local\\.local\\state\\"
93 17 0 0 $ENV{'HOME'} || [getpwuid $>]->[7]
95 1 16 0 $ENV{'XDG_DATA_HOME'} || "$home/.local/share/"
96 1 16 0 $ENV{'XDG_CACHE_HOME'} || "$home/.cache/"
97 0 17 0 $ENV{'XDG_STATE_HOME'} || "$home/.local/state/"
98 1 16 0 $ENV{'XDG_CONFIG_HOME'} || "$home/.config/"