Branch Coverage

blib/lib/Metabrik/Client/Splunk.pm
Criterion Covered Total %
branch 0 22 0.0


line true false branch
51 0 0 unless $self->brik_help_run_undef_arg("search", $search)
53 0 0 unless my $r = $self->search_jobs({"search", "search $search"})
55 0 0 unless (exists $r->{'sid'})
66 0 0 unless $self->brik_help_run_undef_arg("is_job_done", $sid)
69 0 0 if (not defined $r) { }
0 0 elsif ($r == 0) { }
76 0 0 if (exists $r->{'content'} and exists $r->{'content'}{'s:dict'} and exists $r->{'content'}{'s:dict'}{'s:key'} and exists $r->{'content'}{'s:dict'}{'s:key'}{'dispatchState'} and exists $r->{'content'}{'s:dict'}{'s:key'}{'dispatchState'}{'content'})
94 0 0 unless $self->brik_help_run_undef_arg("get_results", $sid)
97 0 0 if ($output_mode ne "xml" and $output_mode ne "json" and $output_mode ne "csv")
104 0 0 unless (defined $r)
109 0 0 unless (length $r)