sweijie24 / pe

0 stars 0 forks source link

Improper Loop Condition #34

Open sweijie24 opened 5 months ago

sweijie24 commented 5 months ago

Loop condition not properly stated in the Next Component's Sequence Diagram

image.png

nus-pe-script commented 5 months ago

Team's Response

A for each loop is used, but there is no way to properly represent it in a UML diagram.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: I apologize if I was unclear in the description of the issue. To reiterate, I believe there is a better way to express the loop condition such that it is clearer to the reader.

Instead of merely stating it as numOfTasks, you could use until max numOfTasks reached as an example.

Attached an example provided in the CS2113 Textbook:

image.png