[1]叶婷婷 王映辉.一种基于AOP的构件合约化测试方法与实现[J].计算机技术与发展,2012,(06):71-74.
 YE Ting-ting,WANG Ying-hui.A Contract Testing Method and Implementation Based on AOP for Component Software[J].,2012,(06):71-74.
点击复制

一种基于AOP的构件合约化测试方法与实现()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
期数:
2012年06期
页码:
71-74
栏目:
智能、算法、系统工程
出版日期:
1900-01-01

文章信息/Info

Title:
A Contract Testing Method and Implementation Based on AOP for Component Software
文章编号:
1673-629X(2012)06-0071-04
作者:
叶婷婷 王映辉
西安理工大学计算机科学与工程学院
Author(s):
YE Ting-ting WANG Ying-hui
School of Computer Science and Engineering, Xi'an University of Technology
关键词:
代码混乱软件构件合约测试AOP
Keywords:
code confusion software component contract test aspect-oriented programming
分类号:
TP31
文献标志码:
A
摘要:
构件合约化测试方法可用于改善软件质量、提高软件可靠性,但在其使用过程中,容易造成合约代码和业务逻辑代码的交叉混乱,影响代码的封装性和复用性。针对该不足,文中提出一种基于AOP的构件合约化测试方法,分别运用横切关注点和纵切关注点实现合约代码和功能代码,达到代码分离的目的。最后通过架构构件测试平台验证该方法的有效性。实践结果表明,该方法能有效地解决代码之间的混乱问题,提高代码的可维护性,对实现高内聚度的软件构件提供一定的理论支持
Abstract:
Contract test of the software-component is used to improve software quality and software reliability. However, it is easy to cause crossover chaos between contract code and business logic code in the process of using, which has affected the encapsulation and reusability of code. According to the deficiency, a method of the contract test of software component based on AOP( Aspect Oriented Programming) was proposed. In this method, contract code and function code was realized by cross-cutting concerns and vertical-cutting concerns respectively to achieve the code separation. Finally, the validity of this method is verified though the building of component test platform. The method proposed in this paper can effectively resolve entanglement problems between the contract code and the function code and improve the maintainability of code, as well as provide some theoretical support to the realization of software component of high concentration

相似文献/References:

[1]唐文忠 姚铂.基于组织干部人事管理领域的构件库管理系统[J].计算机技术与发展,2008,(08):237.
 TANG Wen-zhong,YAO Bo.Component Library Management System Based on Organization Cadre Management Domain Analysis[J].,2008,(06):237.
[2]李玉山 侯德文 王猛.基于Web Services的构件分类与检索研究[J].计算机技术与发展,2006,(03):69.
 LI Yu-shan,HOU De-wen,WANG Meng.Research of Component Classification and Retrieval Based on Web Services[J].,2006,(06):69.
[3]贾玉福 石坚 郭征征.面向公安监管业务领域的构件库设计[J].计算机技术与发展,2012,(02):202.
 JIA Yu-fu,SHI Jian,GUO Zheng-zheng.Component Library Design and Implementation Based on Police Supervision Service Domain[J].,2012,(06):202.

备注/Memo

备注/Memo:
陕西省重大科技创新项目(2009ZKC02-08); 陕西省教育厅中试项目(09JC08)叶婷婷(1985-),女,硕士研究生,研究方向为软件构件王映辉,博士,教授,博导,研究方向为软件工程和模式识别
更新日期/Last Update: 1900-01-01