摘要
为了提高软件代码质量,笔者从开发与审核两个过程分析了可以改进代码质量的关键环节,并在此基础上利用AOP提供的连接点模型,提出了一个灵活的、面向扩展的代码质量框架AjCQFr(AspectJ-based Code Quality Framework)。按照此框架的要求,开发了若干个检测代码质量的工具。同时,在开发中引入面向方面的设计和实现,并使用上述工具对开发成果进行质量检测。实践证明,这些工具可以极大地提高软件的质量和开发效率,并缩短代码质量保证过程。
Code quality is a weak part in software quality hierarchy. To improve it,from the development and validation phrases,this paper analyzed the key activities that could significantly impact code quality and proposed a flexible and extensible framework named AjCQFr(AspectJ-based Code Quality Framework) with the joint-point model provided by AOP.Under this framework,several tools were developed to check the code quality through the introduction of Aspect-Oriented methodology.These tools greatly improve code quality and development productivity,and shortened the quality evaluztion process.
出处
《太原理工大学学报》
CAS
北大核心
2011年第6期555-558,共4页
Journal of Taiyuan University of Technology
基金
国家自然科学基金资助项目(60970016)