Branch Coverage

blib/lib/MooseX/App/Plugin/ZshCompletion/Command.pm
Criterion Covered Total %
branch 13 16 81.2


line true false branch
63 4 0 if ($param->has_type_constraint)
65 3 1 if ($tc->isa('Moose::Meta::TypeConstraint::Enum'))
70 4 0 $param->is_required ? :
79 2 2 if (length $parameter_completion)
96 4 6 if (@opt > 1) { }
103 10 0 if ($opt->has_type_constraint)
105 1 9 if ($tc->isa('Moose::Meta::TypeConstraint::Enum')) { }
6 3 elsif ($opt->type_constraint->is_a_type_of('Bool')) { }