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
70 17 0 0 $^O eq "MSWin32" and $strict

or 2 conditions

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

or 3 conditions

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