Branch Coverage

blib/lib/Search/Elasticsearch/Error.pm
Criterion Covered Total %
branch 17 26 65.3


line true false branch
68 27 92 if ref $type
72 0 92 unless defined $msg
74 0 92 if $type eq "Internal"
93 96 65 if $self->isa("Search::Elasticsearch::Error::$_")
105 77 97 unless ($self->{'msg'})
111 65 12 if ($self->{'vars'})
116 0 77 if (@$stack > 1)
130 0 0 if $swap
142 45 137 if $caller[0] eq "Try::Tiny"
144 0 137 if ($caller[3] =~ /^(.+)::__ANON__\[(.+):(\d+)\]$/) { }
0 137 elsif ($caller[1] =~ /^\(eval \d+\)/) { }
152 48 0 if $caller[0] =~ /^Search::Elasticsearch/ and $DEBUG < 2 || $caller[3] eq 'Try::Tiny::try'
155 89 0 unless $DEBUG > 1