cxong / cdogs-sdl

Classic overhead run-and-gun game
https://cxong.github.io/cdogs-sdl/
GNU General Public License v2.0
887 stars 114 forks source link

Static code analysis #266

Closed cxong closed 3 years ago

cxong commented 10 years ago

Looks like Coverity has a free service with Travis CI. Check it out? https://scan.coverity.com/projects/2464

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

carstene1ns commented 10 years ago

This should be easy to integrate. An additional branch would be needed, so that the rate-limit is not exceeded. The required changes to the .travis.yml are also minor, but you would need to setup the secure token yourself.

carstene1ns commented 9 years ago

I see that http://coveralls.io also has support for C projects. It would require to build and run the the tests with gcov on travis-ci. As the scan is run by travis-ci, there is no limit and no extra branch needed, so this may be an alternative.

cxong commented 5 years ago

Codecov is also an option; some links:

https://codecov.io/gh/cxong/cdogs-sdl

https://github.com/bilke/cmake-modules/blob/master/CodeCoverage.cmake https://stackoverflow.com/q/13116488/2038264