[Codenarc-user] Question about Using New Size Features
Brought to you by:
chrismair
From: Corum, M. <mc...@rg...> - 2010-11-15 20:02:24
|
I'm trying to get complexity and size violations based on CodeNarc 0.11. Here is what I'm putting into my codenarc.properties file. AbcComplexity.maxMethodComplexity=25 CyclomaticComplexity.maxMethodComplexity=8 MethodSize.maxLines=8 I know I have plenty of methods that would exceed these but I'm getting nothing. I have the GMetrics 0.3 jar in my /lib directory of my Grails project. It is running on Hudson. I know that 0.11 is being used because my violations count shot up from 6 to 48. However, none of them were about the new ones above that I'm trying to get. What else needs to be done to turn these on besides adding GMetrics to /lib? Michael Corum Consultant Software Architect RGA Reinsurance Company 1370 Timerlake Manor Parkway Saint Louis, MO 63017 T 636.736.7066 www.rgare.com _____________________________ This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by telephone and return the original message to its sender. Thank you for your cooperation and assistance. |