Open Yukun99 opened 2 years ago
Although it would have been better if the parameter for setFeedBacktoUser is "feedBack" instead of "result", this shouldn't be a problem for the developers since the UML diagram is supposed to serve as a guide, and doesn't have to reflect the exact parameter or parameter type taken in the code. So, we believe the severity should be low instead.
Team chose [severity.Low
]
Originally [severity.Medium
]
Reason for disagreement: The diagram is meant to serve as a guide, which I agree with. However, it is the only guide in the whole document that pertains to this feature. This means that whoever refers to this will get sent down the wrong path with no other reference until he looks into the original source code, which is way less easily read for developers. Since the developer will face an error when facing the exact diagram shown in the DG, I believe this is Medium severity due to how likely it is for future developers to add new commands.
In the sequence diagram under UI component, the
setFeedBackToUser(result)
method callback should not be taking in aresult
, but should instead be taking in theuserFeedBack
. Given that adding a command to the application is one of the more common things that developers will engage in, I believe that this could be of medium severity due to the frequency of the issue appearing. However, developers following the guide will likely just have to deal with errors when inputting the wrong parameter type into the function call, and will ultimately find out the fix by looking at the source code of the original project, thus it should still allow them to continue development.