Parsely/wp-parsely

Fix SonarCloud warnings in develop branch

acicovic opened this issue · 1 comments

Is your feature request related to a problem?

SonarCloud is flagging our develop branch as having bugs and code smells. Some are simple but some others might need a bit more research and effort to fix.

Describe the solution you'd like

  1. Examine the issues SonarCloud is reporting.
  2. Mark as wontfix those who don't make sense.
  3. Solve the rest of the issues 🙂

With the latest merge, SonarCloud passes with 0 or 1 "bugs" (the number fluctuates) and 20 "code smells". Previously the test was not passing and SonarCloud was flagging 5 "bugs".