Branch Coverage

blib/lib/Chef/Knife/Cmd.pm
Criterion Covered Total %
branch 5 18 27.7


line true false branch
140 0 0 if ($type ne 'error')
141 0 0 if ($type eq 'command') { }
146 0 0 if $self->output
151 0 0 if $self->callback
167 0 18 if $self->format
169 0 18 $options{'format'} && $options{'format'} eq 'json' ? :
179 13 6 if $value ne '1'
187 18 0 if $self->noop
190 0 0 if $self->_json_flag