HFA 在 Coverity Prevent 中代表什么?
Coverity Prevent has a checker 'HFA' which is used to identify unused included header files.
I understand what it's used for, but I don't understand the abbreviation. What does HFA stand for?
It doesn't appear to be mentioned in the documentation and a quick bit of googling hasn't turned anything up.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我猜是头文件分析器。
I'm guessing at header file analyzer.
是的,头文件分析(HFA)是检查器的名称。您可能不希望在每次分析运行时都打开它(特别是如果您每天甚至每天都执行多次)。修复头文件的过程可能是一个单独的、比日常错误修复频率更低的过程,并且将其从频繁运行中删除可能有助于提高性能。我们看到有些人只是每周/每月运行一次 HFA 或按需运行。
Yes, Header File Analysis (HFA) is the name of the checker. You may not wish to turn it on for every analysis run (particularly if you do it multiple times per day or even every day). The process by which you fix your header files may be a separate, less frequent process than daily bug fixes and also removing it from your frequent runs may help improve performance a bit. We've seen some folks just run HFA once a week/month or on demand.
HFA 代表“头文件分析”(不是头文件分析器)。来自Coverity Prevent 4.5 检查器参考(显然仅在 Google 缓存中可用):
HFA stands for "header file analysis" (not header file analyzer). From the Coverity Prevent 4.5 Checker Reference (apparently only available in the Google cache):