C/C 使用什么工具++和CI?
仅供参考:如果有更好的地方/站点(例如程序员 SE),请随时移动/关闭此问题并让我知道。
我运行 Jenkins 作为我们的 CI 服务器,我们主要使用 C 和 C++ 进行编程(到处都有一些 Perl 脚本)。无论如何,我有以下工具用于为每个构建创建指标:
- NSIQ(LOC 和复杂性)
- CPPCheck(用于静态分析)
- gcovr(用于覆盖)
- CPD(用于 DRY 检查)
- StatCVS(用于开发人员信息和跟踪 - 只是有趣的是,从 CI 角度来看并不是很有用)
您知道我们可以使用其他任何东西吗?最好是使用 Jenkins 插件或某种形式的 XML/HTML 输出?我尝试过CCCC,但它对我们的代码不太熟练。
谢谢!
FYI: If there is a better place/site (Programmer SE, for eg), feel free to move/close this question and let me know.
I am running Jenkins as our CI server, and we program mostly in C and C++ (with a little perl scripting here and there). Anyway, I have the following tools that I use to create metrics with for every build:
- NSIQ (LOC and Complexity)
- CPPCheck (for static analysis)
- gcovr (for coverage)
- CPD (for DRY checking)
- StatCVS (for developer information and tracking - just for funsies, not really useful from a CI perspective)
Are there any others that you know of that we could use, preferably with a Jenkins plugin or some form of XML/HTML output? I tried CCCC, but it was not as proficient with our code.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我最近参加了一个关于声纳的演讲。我个人还没有使用它,但我们实际上正在工作中设置它,我计划在家里将它用于我的爱好项目。
直到最近我才听说它,但迄今为止我所看到的一切都给我留下了深刻的印象。
最大的缺点是它维护自己的页面,尽管 Jenkins(和 Hudson)应该能够启动它来启动它。
I recently attended a talk about Sonar. I do not yet personally use it, but we are actually setting it up at work and I plan to use it at home for my hobby projects.
I had not heard of it until recently, but I am extremely impressed with everything that I have seen with it so far.
The biggest negative is that it maintains its own pages, although Jenkins (and Hudson) should be able to launch it to start it.