[ 
https://issues.jenkins-ci.org/browse/JENKINS-13177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=161358#comment-161358
 ] 

Bruno P. Kinoshita commented on JENKINS-13177:
----------------------------------------------


Hi again Samuele!

I've refactored CCM Plug-in to be used like other static analysis plug-ins 
(https://wiki.jenkins-ci.org/display/JENKINS/Static+Code+Analysis+Plug-ins).

As a result of this change, the plug-in now is not a Builder anymore, but a 
Publisher. It means, basically, that the plug-in is not invoked during the 
build anymore, but after all the build steps have finished. So now you have to 
use MSBuild, or add a Windows batch command to invoke CCM, and output in XML. 
Then enable CCM.

However, the bright side of this is that the UI is the same as PMD, Tasks, 
FindBugs and other plug-ins configured using analysis-core (yup, you have to 
install this one first, I know it can be inconvenient, but it's worth :).

There are more graphics in the dashboard available now, as well as better 
organization of results. 

Could you give it a try again? 

Sorry for taking this decision without letting you know first. I created CCM 
plug-in before the analysis-core and other static analysis plug-ins were 
released, and it was my first plug-in. That's why I had to do such change.

Thank you!
Bruno

ps: CTRL+C CTRL+V, sorry :)
                
> CCM result in build shows only top 15 methods even though CCM is configured 
> for 100
> -----------------------------------------------------------------------------------
>
>                 Key: JENKINS-13177
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13177
>             Project: Jenkins
>          Issue Type: Bug
>          Components: ccm
>    Affects Versions: current
>         Environment: Ubuntu master / Windows 7 slave
>            Reporter: Samuele Gantner
>            Assignee: Bruno P. Kinoshita
>            Priority: Minor
>         Attachments: result.png, settings.png
>
>
> I configured CCM to show 100 methods in "Number of metrics". However in the 
> results I only see 15 methods. Screenshots are attached

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to