By a News Reporter-Staff News Editor at Computer Weekly News -- Data detailed on Software Research have been presented. According to news originating from Saskatoon, Canada, by VerticalNews correspondents, research stated, "Duplicated or similar source code, also known as code clones, are possible malicious 'code smells' that may need to be removed through refactoring to enhance maintainability. Among many potential refactoring opportunities, the choice and order of a set of refactoring activities may have distinguishable effect on the design/code quality measured in terms of software metrics."
Our news journalists obtained a quote from the research from the University of Saskatchewan, "Moreover, there may be dependencies and conflicts among those refactorings of different priorities. Addressing all the conflicts, priorities and dependencies, a manual formulation of an optimal refactoring schedule is very expensive, if not impossible. Therefore an automated refactoring scheduler is necessary to 'maximise benefit and minimise refactoring effort'. However, the estimation of the efforts required to perform code clone refactoring is a challenging task. This study makes two contributions. First, the authors propose an effort model for the estimation of code clone refactoring efforts. Second, the authors propose a constraint programming (CP) approach for conflict-aware optimal scheduling of code clone refactoring. A qualitative evaluation of the effort model from the developers' perspective suggests that the model is complete and useful for code clone refactoring effort estimation. The authors also quantitatively compared their refactoring scheduler with other well-known scheduling techniques such as the genetic algorithm, greedy approaches and linear programming."
According to the news editors, the research concluded: "The authors' empirical study suggests that the proposed CP-based approach outperforms other approaches they considered."
For more information on this research see: Conflict-aware optimal scheduling of prioritised code clone refactoring. IET Software, 2013;7(3):167-186. IET Software can be contacted at: Inst Engineering Technology-Iet, Michael Faraday House Six Hills Way Stevenage, Hertford SG1 2AY, England. (The Institution of Engineering and Technology - www.theiet.org/; IET Software - www.ietdl.org/IET-SEN)
The news correspondents report that additional information may be obtained from M.F. Zibran, University of Saskatchewan, Dept. of Comp Sci, Saskatoon, SK S7N 5C9, Canada. Additional authors for this research include C.K. Roy.
Keywords for this news article include: Canada, Saskatoon, Saskatchewan, Software Research, North and Central America
Our reports deliver fact-based news of research and discoveries from around the world. Copyright 2013, NewsRx LLC