Branch Coverage

bin/sshss
Criterion Covered Total %
branch 19 20 95.0


line true false branch
33 6 1 if (not exists $ENV{'SSH_ORIGINAL_COMMAND'}) { }
70 1 13 if $dirs[-1] ne '.ssh'
74 8 5 if (exists $ENV{'HOME'} and defined $ENV{'HOME'} and -d $ENV{'HOME'})
79 2 6 if $home_rp eq $myhome_rp
84 2 9 unless (chdir $myhome)
112 13 1 if (@ARGV)
115 2 11 if (not 'File::Spec'->file_name_is_absolute($shell)) { }
1 10 elsif (not -e $shell) { }
122 8 2 if -x $shell
132 6 0 if defined $shell and $shell ne ''