Branch Coverage

blib/lib/MCP/Tool.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
18 0 1 $is_error ? :
26 2 12 if builtin::blessed($result) and $result->isa("Mojo::Promise")
30 0 1 unless $self->{'context'}
39 0 1 $is_error ? :
53 0 1 $is_error ? :
65 0 11 $is_error ? :
69 10 5 unless ($self->{'validator'})
75 1 14 @errors ? :
79 5 0 if ref $result eq "HASH" and exists $result->{'content'}