-
Notifications
You must be signed in to change notification settings - Fork 0
Description
@Eclipse-Dominator We did an automated analysis of your code to detect potential areas to improve the code quality. We are sharing the results below, to help you improve the iP code further.
IMPORTANT: Note that the script looked for just a few easy-to-detect problems only, and at-most three example are given i.e., there can be other areas/places to improve.
Aspect: Tab Usage
No easy-to-detect issues 👍
Aspect: Naming boolean variables/methods
No easy-to-detect issues 👍
Aspect: Brace Style
No easy-to-detect issues 👍
Aspect: Package Name Style
No easy-to-detect issues 👍
Aspect: Class Name Style
No easy-to-detect issues 👍
Aspect: Dead Code
Example from src/main/java/duke/main/Main.java lines 18-18:
// System.out.println(getParameters().getRaw().toString());Example from src/main/java/duke/util/DataParser.java lines 34-34:
// private static final String SEP = " +(/by|/at) +";Suggestion: Remove dead code from the codebase.
Aspect: Method Length
No easy-to-detect issues 👍
Aspect: Class size
No easy-to-detect issues 👍
Aspect: Header Comments
Example from src/main/java/duke/command/DeadlineCommand.java lines 22-26:
/**
* Create a instance of the deadline command.
*
* @param d ParsedData from the command input
*/Example from src/main/java/duke/command/DeleteCommand.java lines 22-26:
/**
* Create an instance of Delete command.
*
* @param d ParsedData containing the index of the task to delete
*/Example from src/main/java/duke/exceptions/DukeException.java lines 8-12:
/**
* Parent of all Duke related component
*
* @param errorMsg Message about the error.
*/Suggestion: Ensure method/class header comments follow the format specified in the coding standard, in particular, the phrasing of the overview statement.
Aspect: Recent Git Commit Message (Subject Only)
No easy-to-detect issues 👍
Aspect: Binary files in repo
No easy-to-detect issues 👍
ℹ️ The bot account used to post this issue is un-manned. Do not reply to this post (as those replies will not be read). Instead, contact cs2103@comp.nus.edu.sg if you want to follow up on this post.