期刊文献+

基于合约的程序分析技术研究

Research of program analyzing technology based on contract
下载PDF
导出
摘要 为了更好地保证并提高计算机软件质量,在软件设计过程中采用了合约式程序设计方法。以大量程序运行轨迹数据为基础,以SQL Server 2005为实验平台,在大量详实的检测程序中对类与类之间、变量之间以及接口与类之间的关系进行了程序动态分析实验。实验表明,在函数的入口处或者在类的开始点检测程序中应保持的隐含性质是相对较好并且合理的的检测位置。通过利用合约进行程序动态分析的基本过程,是一种新的软件质量保证的思维模式,利用这种模式可以进一步提高软件质量,从而保证软件的可用性。 In order to guarantee and improve the quality of the computer software, the way of contract-based program de- sign was adopted in software design. The program dynamic analysis experiments of relation between kinds, between variables, and between interface and kind were conducted by taking mass program running trajectory data as a foundation and Sql Server2005 as the experimental platform. The experiments indicate that testing the attribute maintaining in the testing pro- gram at the entrance of function or at the initial point is reasonable. To perform the program dynamic analysis through con- tracts is a new thinking mode for ensuring the software quality. The software quality can be improved by this thinking mode.
作者 李冠雄
出处 《现代电子技术》 2012年第12期31-33,36,共4页 Modern Electronics Technique
关键词 合约 断言 程序不变量 程序动态分析 contract assertion program invariant dynamic analysis of program
  • 相关文献

参考文献9

  • 1SCHULER David, DALLMEIER Valentin, ZELLER An- dreas. Efficient mutation testing by checking invariant vio- lations [C]// Proceedings of the 2009 International Sympo- sium on Software Testing and Analysis. Chicago, IL, USA: ISSTA, 2009: 69-80.
  • 2ERNST M D, COCKRELL J, GRISWOLD W G, et al. Dynamically discovering likely program invariants to sup- port program evolution [J]. IEEE Transactions on Software Engineering, 2007, 27(2) : 1-25.
  • 3MitchellR,MekimJ,盂岩.DesignbyContract原则与实践[M].北京:人民邮电出版社,2003.
  • 4MEYER B. Design by contract., building bug-free O-O soft- ware [J]. Hotline on Object-Oriented Technology, 2008, 4 (2) : 4-8.
  • 5ERNST M D. Dynamically discovering likely program invariants [D]. Seattle, Washington: Department of Computer Science and Engineering, University of Washington, 2000.
  • 6MEYER Bertrand. Applying " design by contract " [J]. Computer (IEEE), 1992, 25(10) : 40-51.
  • 7BRABERMAN Victor, FERN? NDEZ Federico. Paramet- ric prediction of heap memory requirements [C]// Interna- tional Symposium on Memory Management. Tucson, AZ, USA: ISMM, 2008: 141-150.
  • 8POLIKARPOVA Nadia, MEYER Bertrand. A comparative study of programmer-written and automatically in{erred con- tracts [R]. Zurich, Switzerland: ETH Zurich, 2008.
  • 9SPOTO Fausto , ERNST Michael D. Inference of field ini tialization [C]// Proceedings of the 33rd International Con- ference on Software Engineering. Waikiki, Hawaii, USA: ICSE , 2011: 25-27.

共引文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部