Branch Coverage

lib/Rex/Commands/Upload.pm
Criterion Covered Total %
branch 9 18 50.0


line true false branch
85 0 3 if (@new_args)
89 0 3 unless (eval { do { my(@new_args) = Rex::Hook::run_hook("upload", "before", @_); if (@new_args) { @_ = @new_args; } ; 1 } })
103 0 3 unless ($remote)
119 0 3 if ("Rex::Config"->get_environment and -f "$local." . "Rex::Config"->get_environment)
125 0 3 unless (-f $local)
130 0 3 if (is_dir($remote))
143 0 3 unless ($local_md5)
153 0 3 if ($local_md5 and $remote_md5 and $local_md5 eq $remote_md5) { }
181 3 0 if ($__ret->{'changed'}) { }