首页 理论教育LDRAtestbed在火箭炮软件静态测试中的成功应用

LDRAtestbed在火箭炮软件静态测试中的成功应用

【摘要】:为了进一步掌握某型火箭炮软件产品的质量状况,通过静态测试尽早发现软件中存在的缺陷,对软件产品进行完善和修订达到提升软件产品质量的目的。以某火箭炮软件代码静态测试的实际应用,证明这种方法的实施能够达到提升软件产品质量的效果。

李 锋 靳青梅

(西北机电工程研究所,陕西 咸阳 712099)

摘 要:随着在武器系统中的软件复杂度急剧增长,其重要度也在逐步提高,软件产品质量状况已成为制约软件产品质量的重要因素,软件静态测试工作是对代码进行审核的重要途径和方式。为了进一步掌握某型火箭炮软件产品的质量状况,通过静态测试尽早发现软件中存在的缺陷,对软件产品进行完善和修订达到提升软件产品质量的目的。结合武器装备项目中关于软件产品所遵循的规范标准等代码质量要求,通过使用LDRA testbed 的自定义静态测试规则的功能,实现对软件源码进行有针对性的代码质量分析,结合分析报告使各级产品利益方掌握软件源码的质量状况,为后续工作决策做好基础工作。以某火箭炮软件代码静态测试的实际应用,证明这种方法的实施能够达到提升软件产品质量的效果。

关键词:软件;规则;静态测试;Testbed

中图分类号:TP331.5 文献标志码:A

作者简介:李锋(1977—),男,高级工程师,E-mail:lfengem@126.com。

Application of LDRA testbed in static analysis of rocket launcher software

LI Feng,JIN Qingmei

(Northwest Institute of Mechanical and Electrical Engineering,Xianyang 712099,China)

Abstract:With the rapid increase of software complexity in weapon systems,its importance is gradually improving.The quality of software products has become an important factor restricting the quality of software prod⁃ucts.Software Static testing is an important way to audit the code.Further grasp the quality status of a certain rocket launcher software products,find out the defects in the software as soon as possible through static testing,and improve and revise the software products to improve the quality of the software products.Combined with the code quality requirements of the weapon equipment project,such as the code quality standards followed by the software products,by using the function of LDRA testbed's self-defined static test rules,the targeted code quali⁃ty analysis of the software source code can be realized.Combined with the analysis report,the product stakeholde⁃rs at all levels can grasp the quality status of the software source code,and do a good job for the follow-up work decision-making.The practical application of static testing of a rocket launcher software code proves that the implementation of this method can improve the quality of software products.

Keywords:software;rule;static Testing;Testbed