Branch Coverage

blib/lib/Command/Do.pm
Criterion Covered Total %
branch 17 30 56.6


line true false branch
81 3 4 unless 'CODE' eq ref $code and not ref $name
89 4 0 unless defined $self->stash("command.commands.$name")
100 2 5 unless blessed $self
104 5 2 unless ($usage)
107 0 5 unless (eof $dat)
117 2 5 if $usage
121 0 7 if ($mappings)
124 0 0 unless defined $val
127 0 0 if (ref $val and blessed $val) { }
128 0 0 $val->isa('boolean') ? :
138 0 7 if $mappings
144 0 7 if (defined $$arguments[0])
148 0 0 if 'CODE' eq ref $code
154 6 1 if 'CODE' eq ref $code
164 1 1 unless defined $text