Grails Stats

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
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. 🙂

Cheers!!

FOUND THIS USEFUL? SHARE IT

Leave a Reply

Your email address will not be published. Required fields are marked *