nixx162 / ip Goto Github PK
View Code? Open in Web Editor NEWThis project forked from nus-cs2103-ay2324s1/ip
This project forked from nus-cs2103-ay2324s1/ip
@Nixx162 We did an automated analysis of your code to detect potential areas to improve the code quality. We are sharing the results below, so that you can avoid similar problems in your tP code (which will be graded more strictly for code quality).
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.
No easy-to-detect issues ๐
Example from src/main/java/pardiyem/command/AddCommand.java
lines 78-78
:
boolean result = false;
Example from src/main/java/pardiyem/command/DeleteCommand.java
lines 54-54
:
boolean result = false;
Example from src/main/java/pardiyem/command/FindCommand.java
lines 54-54
:
boolean result = false;
Suggestion: Follow the given naming convention for boolean variables/methods (e.g., use a boolean-sounding prefix).You may ignore the above if you think the name already follows the convention (the script can report false positives in some cases)
No easy-to-detect issues ๐
No easy-to-detect issues ๐
No easy-to-detect issues ๐
No easy-to-detect issues ๐
No easy-to-detect issues ๐
No easy-to-detect issues ๐
Example from src/main/java/pardiyem/command/AddCommand.java
lines 44-48
:
/**
* Utility inherited method to indicate whether this command will end the program
*
* @return false
*/
Example from src/main/java/pardiyem/command/AddCommand.java
lines 53-61
:
/**
* Inherited method to execute the command.
* Will add the constructed Task object to the taskList,
* send a message to the UI, and store the current state of the taskList
*
* @param taskList the TaskList object to modify
* @param storage the Storage object that will handle the saving to the data file
* @throws IOException if the Storage object fails to write to the data file
*/
Example from src/main/java/pardiyem/command/ByeCommand.java
lines 27-31
:
/**
* Utility inherited method to indicate whether this command will end the program
*
* @return true
*/
Suggestion: Ensure method/class header comments follow the format specified in the coding standard, in particular, the phrasing of the overview statement.
No easy-to-detect issues ๐
No easy-to-detect issues ๐
โ You are not required to (but you are welcome to) fix the above problems in your iP, unless you have been separately asked to resubmit the iP due to code quality 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 [email protected]
if you want to follow up on this post.
@Nixx162 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.
No easy-to-detect issues ๐
Example from src/main/java/pardiyem/command/AddCommand.java
lines 79-79
:
boolean result = false;
Example from src/main/java/pardiyem/command/DeleteCommand.java
lines 51-51
:
boolean result = false;
Example from src/main/java/pardiyem/command/FindCommand.java
lines 32-32
:
boolean result = false;
Suggestion: Follow the given naming convention for boolean variables/methods (e.g., use a boolean-sounding prefix).You may ignore the above if you think the name already follows the convention (the script can report false positives in some cases)
No easy-to-detect issues ๐
No easy-to-detect issues ๐
No easy-to-detect issues ๐
No easy-to-detect issues ๐
No easy-to-detect issues ๐
No easy-to-detect issues ๐
Example from src/main/java/pardiyem/command/AddCommand.java
lines 44-48
:
/**
* Utility inherited method to indicate whether this command will end the program
*
* @return false
*/
Example from src/main/java/pardiyem/command/AddCommand.java
lines 53-62
:
/**
* Inherited method to execute the command.
* Will add the constructed Task object to the tasklist,
* send a message to the UI, and store the current state of the tasklist
*
* @param taskList the TaskList object to modify
* @param ui the Ui object to send the message to
* @param storage the Storage object that will handle the saving to the data file
* @throws IOException if the Storage object fails to write to the data file
*/
Example from src/main/java/pardiyem/command/ByeCommand.java
lines 25-29
:
/**
* Utility inherited method to indicate whether this command will end the program
*
* @return true
*/
Suggestion: Ensure method/class header comments follow the format specified in the coding standard, in particular, the phrasing of the overview statement.
possible problems in commit 6da0f6e
:
refactor: Add new constructor to Deadline and Event class for better abstraction
Suggestion: Follow the given conventions for Git commit messages for future commits (no need to modify past commit messages).
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 [email protected]
if you want to follow up on this post.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.