Re: [Codenarc-user] CodeNarc plugin for IntelliJ IDEA
Brought to you by:
chrismair
From: Chris M. <chr...@ea...> - 2011-01-22 14:09:21
|
Yes, the ABC and CyclomaticComplexity rules require GMetrics 0.3. From: Cédric CHAMPEAU [mailto:ced...@gm...] Sent: Saturday, January 22, 2011 3:33 AM To: cod...@li... Subject: Re: [Codenarc-user] CodeNarc plugin for IntelliJ IDEA Thank you Chris. First feedback comes from myself ;) There's a rule that doesn't run due to a missing dependency : AbcComplexityRule. Error from [org.codenarc.rule.size.AbcComplexityRule] processing source file [null]: org.gmetrics.metric.abc.AbcMetric java.lang.NoClassDefFoundError: org.gmetrics.metric.abc.AbcMetric at org.codenarc.rule.size.AbcComplexityAstVisitor.class$(AbcComplexityRule.groo vy) at org.codenarc.rule.size.AbcComplexityAstVisitor.$get$$class$org$gmetrics$metr ic$abc$AbcMetric(AbcComplexityRule.groovy) at org.codenarc.rule.size.AbcComplexityAstVisitor.createMetric(AbcComplexityRul e.groovy:62) The distribution of CodeNarc does not include this dependency. Should I add a dependency on gmetrics ? If so, what version ? Le 21/01/2011 20:58, chr...@wa... a écrit : Wonderful! Thanks very much for doing this. Chris Cédric CHAMPEAU <mailto:ced...@gm...> <ced...@gm...> wrote on 01/21/2011 10:14:18 AM: > Hi, > > Those who are brave enough could test the beta release of the plugin for > IntelliJ IDEA that I've just pushed to GitHub. Basically, it adds > support for CodeNarc rules as IntelliJ IDEA inspections. Those > inspections are available both on the fly and on demand. > > Some limitations though : > - no support for quick fixes > - as CodeNarc only reports the line number, on long lines, you > won't know precisely where the violation is > > Project home : https://github.com/melix/codenarc-idea > Download the beta release : > https://github.com/downloads/melix/codenarc-idea/CodeNarcPlugin-0.1-beta.zip > > Bug reports and contributions are welcome ;) > > Cédric > > > ---------------------------------------------------------------------------- -- > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Codenarc-user mailing list > Cod...@li... > https://lists.sourceforge.net/lists/listinfo/codenarc-user > ForwardSourceID:NT000F6822 |