Due to some maintenance issues, this service has been switched in read-only mode, you can find more information about the why

and how to migrate your plugin documentation in this blogpost

Skip to end of metadata
Go to start of metadata

Plugin Information

View CCCC on the plugin site for more information.

This plugin generates the trend report for CCCC (C and C++ Code Counter).
CCCC is a tool which analyzes C++ and Java files and generates a report on various metrics of the code. Metrics supported include lines of code, McCabe's complexity and metrics proposed by Chidamber&Kemerer and Henry&Kafura.

Project Configuration


Other - Pmccabe

Unfortunately, CCCC is an abandoned and unmaintained project. Pmccabe by contrast is a new and maintained McCabe-style complexity evaluator and sloc counter.
There is no Jenkins plugin at the moment but feel free to create it (I can give you some input guidelines).


Release 0.6 (November 24. 2011)

* Fixed JENKINS-10769 - NullPointerException on creating Cccc trend graph

Release 0.5 (August 13, 2011)

* Fixed JENKINS-10584 - CCCC Plugin doesn't appear to run for failed builds

Release 0.4 (May 17, 2011)

* Fixed JENKINS-4584 - CCCC plugin fails on non-default root directory

Release 0.3 (May 09, 2010)

* Technical Upgrade to new Hudson API

Release 0.2 (April 15, 2009)

* Adding ability to run remote build

Release 0.1 (April 11, 2009)

* Initial release


  1. Unknown User (jtatibouet@besancon.parkeon.com)


    At the moment, i'm trying to integrate this plugin in hudson but i obtained this error

    when i launched the build's sequence. 
    Parsing cccc results
    hudson.AbortException: Parsing file error
    at com.thalesgroup.hudson.plugins.cccc.CccccParser.invoke(CccccParser.java:76)
    at com.thalesgroup.hudson.plugins.cccc.CccccParser.invoke(CccccParser.java:50)
    at hudson.FilePath.act(FilePath.java:676)
    at hudson.FilePath.act(FilePath.java:660)
    at com.thalesgroup.hudson.plugins.cccc.CcccPublisher.perform(CcccPublisher.java:83)
    at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:379)
    at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:367)
    at hudson.model.Build$RunnerImpl.post2(Build.java:183)
    at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:352)
    at hudson.model.Run.run(Run.java:969)
    at hudson.model.Build.run(Build.java:112)
    at hudson.model.ResourceController.execute(ResourceController.java:93)
    at hudson.model.Executor.run(Executor.java:116)

    CCCC's files are generated into .cccc folder. I would like to understand, what does this error mean.
    I you have solutions to solve this problem, it will be great (smile) .

    Thank you for your help

    1. Unknown User (gboissinot)

      Wiki pages are not the appropriate place to report bugs and problems.
      Please, could you send again your message on the Hudson users mailing list:

      I will give you a response and help you as soon as possible.


      1. Unknown User (jtatibouet@besancon.parkeon.com)


        I'am sorry about that. Thank you for your answer, but i have solved my problem. That was just a problem

        of directory.



  2. Unknown User (vladimir@ezono.com)

    How do you generate that nice plot? I do not have it

    1. Unknown User (gbois)

      Could you raise an issue and attach your config.xml and your CCCC report file?

  3. Unknown User (hsnnn)

    All my graph lines seem to be exactly on top of each other. Is there a way to change this?

    Number of modules: 4373

    Lines of Code: 555706

    McCabe's Cyclomatic Number: 92810