摘要
软件重构是软件开发过程中的一项重要技术,它改善软件的可读性、可维护性、可重用性,从而大幅度提升软件内在质量。研究目的:从量化的角度对重构的作用进行研究,将重构为软件工程带来的收益具体化。研究方法:利用改进的PSP时间记录来管理项目开发中程序员的工作量和工作效率,并以此来实现对系统可维护性的度量。通过重构的实践,介绍重构的具体场景和方法。研究结果:通过比较分析和泛化地方法,定量研究了重构前后软件维护的难易程度,并将重构提高系统可维护性的作用公式化。
Refactoring is one of the important technologies for software engineering. Refactoring could be highly improved software' s inner quality such as the readability, maintainability, usability and so forth, which will definitely make the software evolving toward a better and stronger state.
Research purpose - The profits of refactoring is designed to be revealed concretely by quantitative Methods. Research method - Providing some basic information about refaetoring first, and using the reformed PSP time recorder to manage programmer' s workload and efficiency, the metric of software maintainability was carried out. It focuses on the research about how the Research result - the effect of refactoring on the software maintainability through evaluating and comparing the software maintenance before and after refactoring during a project development is formulated.
出处
《微计算机应用》
2009年第10期36-42,共7页
Microcomputer Applications
关键词
软件重构
软件可维护性
软件度量
Refactoring, Software maintainability, software metrics