C ++,Eclipse CDT代码分析? [英] C++, Eclipse CDT code analysis?

查看:410
本文介绍了C ++,Eclipse CDT代码分析?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于Eclipse CDT,是否有静态代码分析的好插件?
我发现两个到目前为止:




  • Cppcheck插件,但这仍然需要原始的cppcheck可执行文件

  • CppChecker,但这没有办法(没有做任何事情)



有没有更好的?或者如何让CppChecker做一些事情(或者根本就是一个静态的代码分析器?网站不清楚)?

解决方案>另外还有一个叫Codan的代码分析。



可以在此wiki上查看该链接,其中包含以下工具的链接:



http://wiki.eclipse.org/CDT/designs/StaticAnalysis



我不能回答这是否比您的列表更好,但至少这是您可以查看的另一个选项。 Eclipse集成似乎是其唯一的要求。



请记住,这是一项正在进行的工作,但鉴于其目标,它可能适合您的短期需求。 / p>

Are there any good plugins for static code analysis for Eclipse CDT? I found two so far:

  • Cppcheck plugin, but this still needs the original cppcheck executable
  • CppChecker, but this didn't work (it didn't do anything)

Are there any more that are better? Or how do I get CppChecker to do something (or is it a static code analyiser at all? the website is not clear at all)?

解决方案

There is another called "Codan," stands for CODe ANalysis.

It can be reviewed at this wiki, with links to the tool:

http://wiki.eclipse.org/CDT/designs/StaticAnalysis

I cannot answer whether this is the better than your list, but at least it's another option you can review. Eclipse integration seems to be its only requirement.

Keep in mind that this is a work in progress, but given its goals, it may suit your short-term needs.

这篇关于C ++,Eclipse CDT代码分析?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆