Branch Coverage

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


line true false branch
69 27 93 if ref $type
73 0 93 unless defined $msg
75 0 93 if $type eq "Internal"
94 96 65 if $self->isa("Search::Elasticsearch::Error::$_")
106 78 97 unless ($self->{'msg'})
112 65 13 if ($self->{'vars'})
117 0 78 if (@$stack > 1)
131 0 0 if $swap
143 45 138 if $caller[0] eq "Try::Tiny"
145 0 138 if ($caller[3] =~ /^(.+)::__ANON__\[(.+):(\d+)\]$/) { }
0 138 elsif ($caller[1] =~ /^\(eval \d+\)/) { }
153 48 0 if $caller[0] =~ /^Search::Elasticsearch/ and $DEBUG < 2 || $caller[3] eq 'Try::Tiny::try'
156 90 0 unless $DEBUG > 1