CodeClimate is a great tool for analysing JavaScript/Ruby code but sadly it does not support C++ yet.

Where could I find a similar tool that:

  • analyses C++ code for quality and performance.
  • integrates easily with GitHub or Travis.
  • is free for Open Source projects.
  • What platform OS?
    – rrirower
    May 1 '15 at 19:39
  • I am looking for a hosted service. I don't want to run it on my computer. It should be part of a continuous integration build, and run et each GitHub commit / each Travis build.
    – Romain
    May 1 '15 at 19:41

The best bet is coverity.

  • Hosted
  • Java, C/C++ or C# code
  • Runs on open source project for free
  • Integrates easily with GitHub and Travis

It is subject to a maximum number of builds per day/week, 3 per day and 12 per week. If less then 10k lines down to 2 per week for projects greater than 1M lines.

  • I looked into Coverity, but my main problem is that it cannot be triggered on pull-requests, which is a no-go for me. Also, I didn't find any way of customizing the rules for the scan, but maybe I just didn't dig enough.
    – Joffrey
    Feb 21 '16 at 10:55
  • I would really like SonarQube, but like the OP, I'm looking for a hosted solution.
    – Joffrey
    Feb 21 '16 at 10:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.