Branch Coverage

lib/Rex/Interface/Fs/Base.pm
Criterion Covered Total %
branch 15 42 35.7


line true false branch
47 47 51 if ($ret == 0)
60 3 0 if ($? == 0)
62 0 0 if "Rex::Config"->get_autodie
74 0 0 if ($? == 0)
76 0 0 if "Rex::Config"->get_autodie
86 0 25 if (exists $options->{'recursive'} and $options->{'recursive'} == 1)
92 25 0 if ($exec->can_run(['chown'])) { }
95 25 0 if ($? == 0)
97 0 0 if "Rex::Config"->get_autodie
112 0 25 if (exists $options->{'recursive'} and $options->{'recursive'} == 1)
118 25 0 if ($exec->can_run(['chgrp'])) { }
121 25 0 if ($? == 0)
123 0 0 if "Rex::Config"->get_autodie
138 0 33 if (exists $options->{'recursive'} and $options->{'recursive'} == 1)
144 33 0 if ($exec->can_run(['chmod'])) { }
147 33 0 if ($? == 0)
149 0 0 if "Rex::Config"->get_autodie
165 0 3 if ($Rex::Interface::Fs::Base::OSNAME =~ /^MSWin/msux) { }
172 3 0 if ($? == 0)
174 0 0 if "Rex::Config"->get_autodie
183 0 272 if (Rex::is_ssh()) { }