| 注册
首页|期刊导航|计算机技术与发展|基于持续集成的PC-Lint静态检查

基于持续集成的PC-Lint静态检查

姜文 刘立康

计算机技术与发展2016,Vol.26Issue(11):31-36,6.
计算机技术与发展2016,Vol.26Issue(11):31-36,6.DOI:10.3969/j.issn.1673-629X.2016.11.007

基于持续集成的PC-Lint静态检查

PC-Lint Static Checking Based on Continuous Integration

姜文 1刘立康1

作者信息

  • 1. 西安电子科技大学 通信工程学院,陕西 西安 710071
  • 折叠

摘要

Abstract

PC-Lint is a static checking tool which has long history and wide application. In order to guarantee the quality of the code of C/C++,many software development organizations choose the inspection of PC-Lint as the first process during the code review. Plenty of inspectional options are provided by PC-Lint tool,and the inspectional options need to be deployed reasonablely,thus reducing the misin-formation,increasing the efficiency of debugging and misarrangement. Through four common types of application examples,it describes method of configuration of lnt files in all kinds of application and development of environment in detail,and discusses the approach to static checking of PC-Lint based on continuous integration. Using ClearCase as the software configuration management tool,the static checking tool PC-Lint is integrated into the continuous integration tool ICP-CI,which contributes to find more source code defects by doing static checking for the C/C++ modules. At last,application case for PC-Lint static checking is introduced. Practice of long time shows that the PC-Lint static checking has conducted to discover all kinds of defects of the code in C/C++ timely,to improve software quality and reduce the cost of software development.

关键词

PC-Lint/静态检查/lnt配置文件/持续集成

Key words

PC-Lint/static checking/lnt configuration file/continuous integration

分类

信息技术与安全科学

引用本文复制引用

姜文,刘立康..基于持续集成的PC-Lint静态检查[J].计算机技术与发展,2016,26(11):31-36,6.

基金项目

国家部委基础科研计划:国防预研基金项目(A1120110007) (A1120110007)

计算机技术与发展

OACSTPCD

1673-629X

访问量5
|
下载量0
段落导航相关论文