Here I am going to share one of the cool grails command that I discovered today i.e “grails stats”. This command provides basic statistics about the current grails application including the number of files and lines of code.
So, I tried this command in my grails project and see what I got.
> grails stats
Anybody looking at this stats can easily say :
1. Lot of code resides at controller layer.
2. Hardly any unit test case.
and so on..
This result clearly depicts where I need to focus or improve upon. Next thing I need to do is refactoring. 🙂