Branch Coverage

blib/lib/Metabrik/Client/Smbclient.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
67 0 0 unless $self->brik_help_run_undef_arg("upload", $files)
68 0 0 unless my $ref = $self->brik_help_run_invalid_arg("upload", $files, "ARRAY", "SCALAR")
75 0 0 unless $self->brik_help_set_undef_arg("upload", $domain)
76 0 0 unless $self->brik_help_set_undef_arg("upload", $username)
77 0 0 unless $self->brik_help_set_undef_arg("upload", $password)
78 0 0 unless $self->brik_help_set_undef_arg("upload", $host)
80 0 0 if ($ref eq 'ARRAY') { }
83 0 0 unless my $this = $self->upload($file, $remote_path, $share)
99 0 0 unless $self->system($cmd)
117 0 0 unless $self->brik_help_run_undef_arg("download", $files)
118 0 0 unless my $ref = $self->brik_help_run_invalid_arg("download", $files, "ARRAY", "SCALAR")
125 0 0 unless $self->brik_help_set_undef_arg("download", $domain)
126 0 0 unless $self->brik_help_set_undef_arg("download", $username)
127 0 0 unless $self->brik_help_set_undef_arg("download", $password)
128 0 0 unless $self->brik_help_set_undef_arg("download", $host)
130 0 0 if ($ref eq 'ARRAY') { }
133 0 0 unless my $this = $self->download($file, $output_dir, $share)
145 0 0 $drive ? :
148 0 0 $output_dir ? :
158 0 0 unless $self->system($cmd)
173 0 0 unless $self->brik_help_run_undef_arg("download_in_background", $files)
174 0 0 unless my $ref = $self->brik_help_run_invalid_arg("download_in_background", $files, "ARRAY", "SCALAR")
181 0 0 unless $self->brik_help_set_undef_arg("download_in_background", $domain)
182 0 0 unless $self->brik_help_set_undef_arg("download_in_background", $username)
183 0 0 unless $self->brik_help_set_undef_arg("download_in_background", $password)
184 0 0 unless $self->brik_help_set_undef_arg("download_in_background", $host)
186 0 0 unless my $sp = "Metabrik::System::Process"->new_from_brik_init($self)
190 0 0 if (ref $files eq "")