tag:blogger.com,1999:blog-6080082.post5816621832929964100..comments2023-11-29T08:55:56.402+01:00Comments on Some things to remember: PMD rule to check for unguarded log.debug() and install in EclipseHeikohttp://www.blogger.com/profile/04989356067273734299noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-6080082.post-55253638947919707072013-02-23T12:25:00.840+01:002013-02-23T12:25:00.840+01:00Hi ,
Can u share me the pmd rule u wrote,it wi...Hi ,<br /> Can u share me the pmd rule u wrote,it will be a great help to me.<br /><br />thanks .Anonymoushttps://www.blogger.com/profile/04821978469858587962noreply@blogger.comtag:blogger.com,1999:blog-6080082.post-15417580281783230592010-12-06T20:02:22.380+01:002010-12-06T20:02:22.380+01:00Hi Heiko, small world... I recently needed the sam...Hi Heiko, small world... I recently needed the same thing and came up with the following XPath rule. It works only for .debug but also checks whether the expression to log is just a string or composed of a string concatenation. Downside of that is that it does not detect if call a single but expensive operation to get the message to be logged. Anyways, I'd like to share it with you, perhaps Tammohttps://www.blogger.com/profile/01177066995521548311noreply@blogger.comtag:blogger.com,1999:blog-6080082.post-18518682840977892062008-11-13T09:51:00.000+01:002008-11-13T09:51:00.000+01:00HiIn eclipse, PMD Custom rule also should follow e...Hi<BR/>In eclipse, PMD Custom rule also should follow eclipse plugin convention it seems.<BR/>Check following article.<BR/>http://www.eclipsezone.com/articles/pmd/<BR/><BR/>-AlwinWinjohttps://www.blogger.com/profile/04257794867625422659noreply@blogger.com