本文介绍了自动编码标准验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找验证符合定义的编码标准的工具。

我已经找到了Parasoft的C ++测试,但它非常昂贵。

有没有开源替代品?我不需要GUI,花哨的报告或

预定义的规则集。

I am looking for tool to validate conformity to defined coding standard.
I have already found Parasoft''s C++ Test, but it is quite expensive. Is
there any Open Source alternative? I do not need GUI, fancy reports nor
predefined sets of rules.

推荐答案




只是出于兴趣,如果你没有规则,你将如何定义你的

特定的编码标准?


如果您对C / C ++的静态检查感兴趣,那么请看看

夹板:




免费及其多平台。


" Splint是静态检查C程序以确保安全的工具

漏洞和编码错误。只需很少的努力,Splint就可以用作更好的棉绒。如果投入额外的努力为程序添加

注释,Splint可以执行比任何标准lint更好的检查。



Just out of interest, if you dont have rules, how will you define your
particular coding standards?

If you''re interested in static checking of C/C++ then take a look at
splint at:

http://www.splint.org

Its free and its multi-platform.

"Splint is a tool for statically checking C programs for security
vulnerabilities and coding mistakes. With minimal effort, Splint can be
used as a better lint. If additional effort is invested adding
annotations to programs, Splint can perform stronger checking than can
be done by any standard lint."






-

Jack Klein

主页:



comp.lang.c的常见问题解答

comp.lang.c ++

alt.comp.lang.learn.c-c ++



http://www.gimpel.com

--
Jack Klein
Home: http://JK-Technology.Com
FAQs for
comp.lang.c http://c-faq.com/
comp.lang.c++ http://www.parashift.com/c++-faq-lite/
alt.comp.lang.learn.c-c++
http://www.contrib.andrew.cmu.edu/~a...FAQ-acllc.html





对不起。我的意思是我不需要包含一系列规则。我将自己定义

来遵循我的(客户端)编码标准。

如果你对C / C ++的静态检查感兴趣那么看一看在
夹板处:



它的免费及其多平台。



Sorry. I meant I do not need sets of rules to be included. I will define
them myself to follow my (client''s) coding standard.
If you''re interested in static checking of C/C++ then take a look at
splint at:

http://www.splint.org

Its free and its multi-platform.




Splint + Indent可能是我的选择。谢谢!



Splint + Indent will probably be my choice. Thanks!


这篇关于自动编码标准验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-09 16:06