WVU-CS230-2024-01-Group04 / Jackpot-Junction

0 stars 1 forks source link

Bugs and Hotspots Issues #11

Open Ikosinomumu opened 5 months ago

Ikosinomumu commented 5 months ago

Name: IKECHUKWU O. OSINOMUMU

Title: Jackpot Junction test result using SonarQube which inspects various aspects of my code, ranging from minor styling details to critical design errors. This tool (SonarQube) provides valuable insights into code quality, including potential bugs, security hotspots, vulnerabilities, code duplication, and more. It’s a valuable tool for maintaining high-quality software projects.

The Issues The following were the issues identified;

  1. Bugs which were 2 coming from Blackjack.js with an error that read ("Remove this "===" check; it will always be false. Did you mean to use "=="?") and ("dealerPoints' is not modified in this loop"). These two bugs were labeled Blocker.

  2. Security Hotspots: There were seven (7) security hotspot issues resulting from Blackjack. js, SlotsGame.jsxslots.js, SlotslikeGame.jsx, blackjack1.jsx and roulette.jsx. The security hotspot errors were a result of the pseudorandom number generator used and they were all medium, meaning it's not a serious issue but still needs to be corrected.

Step to Recreate the Bugs

For The Security Hotspots

General Overview of Blacjack testing with SonarQubeBugs Identified Security Hotspots Issues