Branch Coverage

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


line true false branch
139 0 0 if ($type ne 'error')
140 0 0 if ($type eq 'command') { }
145 0 0 if $self->output
150 0 0 if $self->callback
166 0 17 if $self->format
168 0 17 $options{'format'} && $options{'format'} eq 'json' ? :
178 11 6 if $value ne '1'
186 17 0 if $self->noop
189 0 0 if $self->_json_flag