Branch Coverage

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


line true false branch
141 0 0 if ($type ne 'error')
142 0 0 if ($type eq 'command') { }
147 0 0 if $self->output
152 0 0 if $self->callback
168 0 19 if $self->format
170 0 19 $options{'format'} && $options{'format'} eq 'json' ? :
180 13 6 if $value ne '1'
188 19 0 if $self->noop
191 0 0 if $self->_json_flag