Branch Coverage

blib/lib/Metabrik/Api/Splunk.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
63 0 0 unless $self->brik_help_run_undef_arg("get", $path)
67 0 0 unless my $resp = $self->SUPER::get($uri . $path . "?count=" . $count)
69 0 0 unless my $content = $self->content("xml")
70 0 0 unless my $code = $self->code
90 0 0 unless $self->brik_help_run_undef_arg("search_jobs", $post)
91 0 0 unless $self->brik_help_run_invalid_arg("search_jobs", $post, "HASH")
95 0 0 unless my $resp = $self->post($post, $uri . "/services/search/jobs")
102 0 0 if ($code == 201)
113 0 0 unless $self->brik_help_run_undef_arg("search_jobs_sid", $sid)
117 0 0 unless my $resp = $self->SUPER::get($uri . "/services/search/jobs/" . $sid)
124 0 0 if ($code == 404) { }
0 0 elsif ($code == 200) { }
143 0 0 unless $self->brik_help_run_undef_arg("search_jobs_sid_results", $sid)
148 0 0 unless my $resp = $self->SUPER::get($uri . "/services/search/jobs/" . $sid . "/results/?output_mode=" . $output_mode . "&offset=$offset&count=$count")
158 0 0 if ($code == 200) { }
0 0 elsif ($code == 204) { }
187 0 0 unless $self->brik_help_run_undef_arg("data_lookup_table_files_acl", $app)
188 0 0 unless $self->brik_help_run_undef_arg("data_lookup_table_files_acl", $csv_file)
193 0 0 unless ($csv_file =~ /\.csv$/)
197 0 0 unless my $resp = $self->post($perm, $uri . "/servicesNS/" . $username . "/" . $app . "/data/lookup-table-files/" . $csv_file . "/acl")