Branch Coverage

blib/lib/MCP/Tool.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
18 0 1 $is_error ? :
26 3 19 if builtin::blessed($result) and $result->isa("Mojo::Promise")
37 0 1 $is_error ? :
51 0 1 $is_error ? :
63 0 19 $is_error ? :
67 20 10 unless ($$self{"validator"})
71 25 5 $$self{'validator'}->evaluate($args, $self->input_schema) ? :
75 5 17 if ref $result eq "HASH" and exists $$result{"content"}