Testing findings
Overview of Test Findings
1. Fuzz Testing
- Outcome: Successfully completed with no errors or vulnerabilities found.
- Implication: Indicates the system's robust handling of diverse and unexpected input scenarios, adhering to the defined voting rules.
2. Manual Code Review
- Observations:
getRemainingTime returns 0 when voting hasn't started, which might be misleading.
getResults provides a list of subjects with zero votes even before voting begins, potentially causing confusion.
- Implication: These are not bugs but areas where user experience might be improved for clarity.
- Warning Detected:
- Unchecked return value in the sorting function.
- Implication: Highlights the need for diligent error handling and checking return values to prevent silent failures or unexpected behavior.