{"id":16477,"date":"2014-12-24T11:35:14","date_gmt":"2014-12-24T06:05:14","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=16477"},"modified":"2014-12-24T11:35:14","modified_gmt":"2014-12-24T06:05:14","slug":"grails-stats","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/grails-stats\/","title":{"rendered":"Grails Stats"},"content":{"rendered":"<p>Here I am going to share one of the cool grails command that I discovered today i.e \u201cgrails stats\u201d. This command provides\u00a0basic statistics about the current grails application including\u00a0the number of files and lines of code.<\/p>\n<p>So, I tried this command in my grails project and see what I got.<\/p>\n<p style=\"text-align: left\">&gt; grails stats<br \/>\n<a href=\"\/blog\/wp-ttn-blog\/uploads\/2014\/12\/grails_stats.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-16478\" src=\"\/blog\/wp-ttn-blog\/uploads\/2014\/12\/grails_stats.png\" alt=\"grails_stats\" width=\"283\" height=\"190\" \/><\/a><\/p>\n<p>Anybody looking at this stats can easily say :<br \/>\n1. Lot of code resides at controller layer.<br \/>\n2. Hardly any unit test case.<br \/>\nand so on..<\/p>\n<p style=\"text-align: left\">This result clearly depicts where I need to focus or improve upon. Next thing I need to do is refactoring. \ud83d\ude42<\/p>\n<p>Cheers!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here I am going to share one of the cool grails command that I discovered today i.e \u201cgrails stats\u201d. This command provides\u00a0basic statistics about the current grails application including\u00a0the number of files and lines of code. So, I tried this command in my grails project and see what I got. &gt; grails stats Anybody looking [&hellip;]<\/p>\n","protected":false},"author":113,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":3},"categories":[7],"tags":[1584,4840,1582,9,1583],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/16477"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/113"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=16477"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/16477\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=16477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=16477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=16477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}