Branch Coverage

lib/Command/V2.pm
Criterion Covered Total %
branch 14 34 41.1


line true false branch
55 37 1 unless ($prop_desc->{'is_param'} or $prop_desc->{'is_input'} or $prop_desc->{'is_transient'} or $prop_desc->{'is_calculated'} or $prop_desc->{'is_output'})
75 27 0 if ($subclass_name->can('execute')) { }
86 27 0 if ($subclass_name->can('shortcut'))
96 27 245 if $p->property_name eq 'id'
97 162 83 if $p->class_name eq 'Command::V2'
98 0 83 unless $p->class_name->isa('Command')
99 0 12 unless ($p->is_input or $p->is_output or $p->is_param or $p->is_transient or $p->is_calculated)
106 0 27 if (@e)
120 2 9 if ($self->is_executed)
133 1 0 if ($pm->is_input or $pm->is_param)
159 0 0 unless $property->can('is_param') and $property->can('is_input') and $property->can('is_output')
163 0 0 if $new_class_base->can($name)
165 0 0 if ($property->is_param) { }
0 0 elsif ($property->is_input) { }
196 0 0 if (keys %command_errors)
200 0 0 unless ref $errors and ref $errors eq 'ARRAY'
210 0 0 if ($total_count > 1)