%0 Journal Article
%T Reuse Cost Optimization Oriented Component Refactoring Method
面向复用成本优化的构件重构方法
%A WANG Zhong-Jie
%A XU Xiao-Fei
%A ZHAN De-Chen
%A
王忠杰
%A 徐晓飞
%A 战德臣
%J 软件学报
%D 2005
%I
%X During the whole lifecycle of component reuse, it is necessary for designers to continuously re-design and refactor components to improve usability, e.g., reuse cost, reuse efficiency, etc, under the guarantee of high usefulness. For this purpose, this paper presents a reuse cost optimization oriented, locality principle and instance set decomposition based component refactoring method. A feature-oriented component model is firstly introduced, with emphasis on component reuse mechanism based on variation point. By analysis of the constituents of reuse cost, the optimization goal, i.e., increasing the proportion of fixed part of a component, is put forward. Then, the temporal and spatial locality in component reuse process is analyzed elaborately, and according to the reuse frequency of each component instance, those instances with higher reuse frequency are separated out to form (semi-)instantiated independent components, so as to decrease the instantiation cost and implementation cost during reuse process. A greedy strategy based component instance set decomposition algorithm is proposed and validated by a practical case. This method may bring some instantiation tasks forward to component design phase instead of in practical reuse phase and transform some variable features into fixed ones by decomposing the dependencies between components into dependencies between component instances, therefore avoiding multiple instantiations during frequent reuse to decrease reuse cost.
%K software component
%K component refactoring
%K reuse cost
%K component instance decomposition
软构件
%K 构件重构
%K 复用成本
%K 构件实例分解
%U http://www.alljournals.cn/get_abstract_url.aspx?pcid=5B3AB970F71A803DEACDC0559115BFCF0A068CD97DD29835&cid=8240383F08CE46C8B05036380D75B607&jid=7735F413D429542E610B3D6AC0D5EC59&aid=E8EC2DAB95E87C40&yid=2DD7160C83D0ACED&vid=7801E6FC5AE9020C&iid=59906B3B2830C2C5&sid=0457E3D977B9FECD&eid=411FEAF47D74703B&journal_id=1000-9825&journal_name=软件学报&referenced_num=2&reference_num=14