| Issue 618: | Add a possibility to run cppcheck on submitted patches | |
| 8 people starred this issue and may be notified of changes. | Back to list |
It would be nice to have a possibility to run cppcheck (C++ static code analysis tool) on submitted patches on server side. It may be done in the next way: 1) run it on file before modification; 2) run it on file after modification; 3) compare results and warn if new errors/warnings appear. cppcheck can generate XML outputs, so I don't think it would be very hard to add error highlighting also (but text output will be good anyway)
Jul 12, 2010
#1
sop@google.com
Apr 11, 2011
It sounds like what you might be looking for is a continuous integration server like Jenkins (http://jenkins-ci.org/) to run tests for you whenever someone commits to a repository. Jenkins can be setup to talk to gerrit and mark commits as "Verified +1" or "Verified -1" automatically whenever a test succeeds/fails.
May 20, 2011
Will be supported through plugin support.
Status:
Accepted
Blockedon: 861
Oct 1, 2013
This would be a FANTASTIC feature. When working on old code in the hundred of man-years and tens of thousands of warnings, this would allow getting quality ratchet in place. Once a warning is fixed, it will never creep back in... |
|
| ► Sign in to add a comment |