CPPcheck html报告 [英] CPPcheck html report
问题描述
我有一个问题,有什么办法可以使用cppcheck-htmlreport从几个xml生成一个html文件?
I have a question is there any way to generate one html file from few xml using cppcheck-htmlreport?
通常我这样做:
/ cppcheck-htmlreport --file / vobs /stn/dev/linux/cppcheck/xmlreport_v1.xml --title xml1 test --report-dir。
现在我想要做这样的事情
Now I want to do something like this
/ cppcheck-htmlreport --file /vobs/stn/dev/linux/cppcheck/*.xml --title xml1测试 --report-dir。
但是当我这样做的时候,建议cppcheck只转换一个xml文件...
But when I did that commend cppcheck convert only one xml file...
有人可以帮助我吗?
我为我的英语薄弱而感到抱歉。
I'm sorry for my weak english.
推荐答案
您尝试过
cat *.xml >> newXmlFile.xml
,然后再调用cppcheck-htmlreport?
cat命令连接当前文件夹中所有xml文件的xml内容,并将结果存储到newXmlFile.xml中。
before calling cppcheck-htmlreport? The cat-command concatenates the xml content of all xml files in the current folder and stores the result into newXmlFile.xml.
这篇关于CPPcheck html报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!