Branch Coverage

blib/lib/OpenSearch/Client/Error.pm
Criterion Covered Total %
branch 17 26 65.3


line true false branch
72 27 94 if ref $type
76 0 94 unless defined $msg
78 0 94 if $type eq "Internal"
97 96 65 if $self->isa("OpenSearch::Client::Error::$_")
109 79 97 unless ($self->{'msg'})
115 61 18 if ($self->{'vars'})
120 0 79 if (@$stack > 1)
134 0 0 if $swap
146 43 137 if $caller[0] eq "Try::Tiny"
148 0 137 if ($caller[3] =~ /^(.+)::__ANON__\[(.+):(\d+)\]$/) { }
0 137 elsif ($caller[1] =~ /^\(eval \d+\)/) { }
156 46 0 if $caller[0] =~ /^OpenSearch::Client/ and $DEBUG < 2 || $caller[3] eq 'Try::Tiny::try'
159 91 0 unless $DEBUG > 1