Branch Coverage

blib/lib/UI/Dialog/Backend/Nautilus.pm
Criterion Covered Total %
branch 1 36 2.7


line true false branch
39 1 0 unless (-x $self->{'_opts'}{'bin'})
53 0 0 if (open NAUTILUSLOGFILE, '>>' . $logfile)
64 0 0 if $ENV{'NAUTILUS_SCRIPT_SELECTED_FILE_PATHS'} or $ENV{'NAUTILUS_SCRIPT_SELECTED_URIS'} or $ENV{'NAUTILUS_SCRIPT_CURRENT_URI'} or $ENV{'NAUTILUS_SCRIPT_WINDOW_GEOMETRY'}
81 0 0 if (@_ and wantarray)
90 0 0 if defined $str
98 0 0 if ($self->_is_env) { }
100 0 0 if $ENV{'NAUTILUS_SCRIPT_SELECTED_FILE_PATHS'}
116 0 0 if ($self->_is_env) { }
124 0 0 unless $self->_is_env
135 0 0 if $self->_is_env
142 0 0 if ($self->_is_env) { }
144 0 0 if $ENV{'NAUTILUS_SCRIPT_WINDOW_GEOMETRY'} =~ /(\d+)x(\d+)\+(\d+)\+(\d+)/
153 0 0 if (@user > 7 and -d $user[7])
158 0 0 if (defined $xdg_desktop_dir and -d $xdg_desktop_dir)
162 0 0 if (-d $xdg_config_home and -f $xdg_config_home . '/user-dirs.dirs')
165 0 0 unless /=/
171 0 0 if (defined $xdg_desktop_dir and -d $xdg_desktop_dir)
174 0 0 if -d $home . '/Desktop'