[ http://jira.codehaus.org/browse/MCLOVER-44?page=comments#action_69449 ] 

Mike Perham commented on MCLOVER-44:
------------------------------------

Hahaha.  Game over, you lose.

Yep, that's what I meant.  In our case it was CPD detecting a massive amount of 
cut/paste (due to the clover code being duplicated in every class).

> Do not run quality check plugins on clovered sources as they'll generate lots 
> of errors
> ---------------------------------------------------------------------------------------
>
>          Key: MCLOVER-44
>          URL: http://jira.codehaus.org/browse/MCLOVER-44
>      Project: Maven 2.x Clover Plugin
>         Type: Bug

>     Versions: 2.2
>     Reporter: Vincent Massol
>     Assignee: Vincent Massol
>     Priority: Critical

>
>
> For example, if you have checkstyle:check configured in your project, running 
> clover instrumentation will lead to the clover plugin analyzing the clovered 
> sources (clover modifies sources to add clover statements) thus generating 
> tons of violations even though your code is correct... 
> The same will happen for any *:check goal (PMD, findbugs, etc).
> Somehow we need to find a way not to run those plugins when the clover forked 
> lifecycle executes...
> <private note>Mike, I think this is what you were trying to tell me and I was 
> not understanding... Now I've been hit by it too... :-)</private note>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to