Branch Coverage

blib/lib/MCP/Prompt.pm
Criterion Covered Total %
branch 8 10 80.0


line true false branch
14 2 7 if builtin::blessed($result) and $result->isa("Mojo::Promise")
20 1 8 if defined $description
26 0 4 unless $arg->{'required'}
27 1 3 unless exists $$args{$arg->{'name'}}
33 1 0 if ref $result eq "HASH" and exists $result->{'messages'}