nus-cs2103-AY1718S1 / forum

Discussion Forum
5 stars 0 forks source link

💡 Tips to score higher for code quality #173

Open damithc opened 7 years ago

damithc commented 7 years ago

Note that when we evaluate your code quality, we give credit for (among other things),

Try to include at least some evidence of the above things in your code.

Also, we look for good SLAP in particular. That means very long methods and deeply nested code could result in penalties.

Naturally, any coding standard violations will attract penalties too.

Another area that can attract penalties is code duplication. If you have code chunks duplicated with minor variations, try to extract out the similar parts as utility methods. Test code is especially prone to the code duplication problem.