Hi Users,
Most of us Will Face the Burden of Fixing the PMD Checkstyles for assuring the Quality to Client With Respect to Code. This Can be a time Bound Activity and Requires some prior Planning to avoid it. I am Sharing my Views on it Which gave me the Consisting Improvement in Results .
1) Always Good Habit of Defining the Constants in the Seperate files rather than Hard Coding it.
2)Always follow the Way of Defining the Variable .
3)Remove the Unused Code or the Dead Code.
4)Don't make the Logic Complex by Writing a Complex Loops.
5)Don't Write Too Long Method/Classes, Break them then and there as part of the Code Commit.
6)For any Repository Calls and other Calls use the Configurable Value , and Avoid it defining in the handler Levels .
7)Make Sure you Write the Tools Class whenever it is required , instead of creating in the Same place.
8)Make Sure that your Code SatisFies You, before you commit.
Happy Learning !!!!!
Most of us Will Face the Burden of Fixing the PMD Checkstyles for assuring the Quality to Client With Respect to Code. This Can be a time Bound Activity and Requires some prior Planning to avoid it. I am Sharing my Views on it Which gave me the Consisting Improvement in Results .
1) Always Good Habit of Defining the Constants in the Seperate files rather than Hard Coding it.
2)Always follow the Way of Defining the Variable .
3)Remove the Unused Code or the Dead Code.
4)Don't make the Logic Complex by Writing a Complex Loops.
5)Don't Write Too Long Method/Classes, Break them then and there as part of the Code Commit.
6)For any Repository Calls and other Calls use the Configurable Value , and Avoid it defining in the handler Levels .
7)Make Sure you Write the Tools Class whenever it is required , instead of creating in the Same place.
8)Make Sure that your Code SatisFies You, before you commit.
Happy Learning !!!!!
No comments:
Write comments