ldtteam / Rankup

Minecraft Sponge Auto-ranking plugin
2 stars 1 forks source link

Api 6 SQL and Concurrent tracks #11

Closed Asherslab closed 6 years ago

Asherslab commented 6 years ago

same as the API-7 version

Asherslab commented 6 years ago

SonarQube analysis reported 47 issues

Watch the comments in this conversation to review them.

Top 10 extra issues

Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

  1. MAJOR Rankup.java#L67: Split this class into smaller and more specialized ones to reduce its dependencies on other classes from 36 to the maximum authorized 30 or less. rule
  2. MAJOR Rankup.java#L266: Either log or rethrow this exception. rule
  3. MAJOR GroupsConfig.java#L48: Split this 181 characters long line (which is greater than 180 authorized). rule
  4. MAJOR topCommand.java#L97: Assign this magic number 10 to a well-named constant, and use the constant instead. rule
  5. MAJOR CommonUtils.java#L64: Either log or rethrow this exception. rule
  6. MAJOR RankingUtils.java#L15: Add a private constructor to hide the implicit public one. rule
  7. MINOR rankup#: Add a 'package-info.java' file to document the 'rankup' package rule
  8. MINOR Rankup.java#: Add a new line at the end of this file. rule
  9. MINOR Rankup.java#L114: Move this trailing comment on the previous empty line. rule
  10. MINOR Rankup.java#L116: Move this trailing comment on the previous empty line. rule