Bev-low / pe

0 stars 0 forks source link

In FindPareintCommand, the alt block has no conditions #19

Open Bev-low opened 1 week ago

Bev-low commented 1 week ago

Screenshot 2024-11-15 174055.png

The alternate block has no conditions, the diagram cannot be understood

soc-pe-bot commented 6 days ago

Team's Response

Thank you for the report.

In a bid to prevent overlapping of text and alt block, FontColor white was used. This means that for the alt text to be visible, the font color needs to be "black".

Unfortunately, the second alt block was overlooked. Only the first alt text was updated with "black font color".

image.png

However, our team decided to change the severity to "VeryLow" due to it being merely a cosmetic issue

image.png

Items for the Tester to Verify

:question: Issue severity

Team chose [severity.VeryLow] Originally [severity.Low]

Reason for disagreement: Thank you for the explanation and acknowledgment of the oversight. However, I respectfully disagree with the decision to downgrade the severity to "Very Low," as the missing information directly affects the logic flow and clarity of the diagram. My reasoning is as follows:

Lack of condiiton for the main block: The main alt block is a critical component of the diagram as it delineates two distinct logic flows based on certain conditions. The absence of visible conditions in this block makes it impossible for the reader to understand the branching logic. This omission creates ambiguity and forces the reader to infer the rationale for the branching, which undermines the primary purpose of the diagram. This is not merely a cosmetic issue but rather a functional one, as clarity in the logic flow is essential for accurate interpretation of the diagram.

Misleading Representation of Outputs in Inner second Alt: In the inner block, both alternative paths return the same new CommandResult(). This gives the impression that the two branches are functionally identical, which is both confusing and misleading. The purpose of an alt block is to present alternate paths based on differing conditions. By failing to show the distinction in outcomes or logic, the diagram misrepresents the system’s behaviour and risks leading to misinterpretation.

While it is acknowledged that the missing font colour for the conditions is an oversight, its impact goes beyond being a mere cosmetic issue. The absence of conditions and the misleading branching logic directly affect the accuracy and purpose of the diagram.

A purely cosmetic issue does not affect the interpretation or accuracy of a diagram. However, the issues outlined here—specifically, the missing conditions and misleading branching logic—directly impact the diagram's functional purpose. These problems reduce the diagram's clarity and usability. Hence