Open dmdunla opened 5 years ago
The following code cannot be reached and should be removed:
switch (params.Results.Update) ... otherwise error('Error: options.Update is not valid. Choices are {FR, PR, HS}');
This cannot be reached because there is a check of the inputs which will prevent the otherwise statement from being executed:
otherwise
params.addParamValue('Update','PR',@(x) ismember(x,{'FR','PR','HS','SD'}));
NOTE: found using code coverage
The following code cannot be reached and should be removed:
This cannot be reached because there is a check of the inputs which will prevent the
otherwise
statement from being executed:NOTE: found using code coverage