Branch Coverage

blib/lib/MCP/Prompt.pm
Criterion Covered Total %
branch 9 12 75.0


line true false branch
14 2 5 if builtin::blessed($result) and $result->isa("Mojo::Promise")
18 0 1 unless $self->{'context'}
22 1 6 if defined $description
28 0 4 unless $arg->{'required'}
29 1 3 unless exists $$args{$arg->{'name'}}
35 1 0 if ref $result eq "HASH" and exists $result->{'messages'}