たてたてよこよこまるかいてちょん

組み込み関連の情報を共有するためのブログです

TortoiceSVN + CppCheck のはなし

TortoiseSVN でコミットする前に CppCheck でソースコードをチェックする方法があるという。

Cppcheck is integrated with many popular development tools. For instance:

  • Code::Blocks - integrated
  • CodeLite - integrated
  • CppDepend 5 - integrated
  • Eclipse - Cppcheclipse
  • gedit - gedit plugin
  • Hudson - Cppcheck Plugin
  • Jenkins - Cppcheck Plugin
  • Mercurial (Linux) - pre-commit hook - Check for new errors on commit (requires interactive terminal)
  • Tortoise SVN - Adding a pre-commit hook script
  • Visual Studio - Visual Studio plugin
http://cppcheck.sourceforge.net/

で Tortoice SVN のリンクをたどると、

Since last changes with SourceForge, CppCheck data on SourceForge is missing. Therefore, I’m re-posting it here:

http://omerez.com/automatic-static-code-analysis/

消されてしまったから、もういっかいここに残すよとある。

うーん、そうなのいいのか? CppCheck としてはどうなの?

あとこの Script のライセンスがどこにもないような。

記事のLicense このブログの記事は特に断りのない限り、引用部分を除いて、以下の CC-BY 4.0でライセンスします。 https://creativecommons.org/licenses/by/4.0/deed.ja ただし、ブログ内にあるコードは、特に断りのない限り、CC-BY 4.0またはMITLicense で利用できるものとします。