Title
How to extract differences from similar programs?: a cohesion metric approach
Abstract
Merging similar programs is a promising solution to improve the maintainability of source code. Before merging programs, any syntactic difference has to be extracted as a new method. However, it is difficult for a developer to identify and extract differences from programs appropriately because he/she has to consider not only syntactic and semantic correctness but also the modularity of the programs after merging. In this paper, we propose a slice-based cohesion metrics approach to suggesting the extractions of differences from similar Java methods. This approach identifies syntactic differences from two methods, and then suggests sets of cohesive regions including those differences. The case study shows that the proposed approach can suggest refactorings that not only merge two methods but also increase the cohesiveness.
Year
DOI
Venue
2013
10.1109/IWSC.2013.6613038
IWSC
Keywords
Field
DocType
software maintenance,tin,software metrics,java,merging,scalability,measurement,refactoring,configuration management
Cohesion (chemistry),Data mining,Source code,Computer science,Correctness,Natural language processing,Artificial intelligence,Software metric,Java,Syntax,Modularity,Maintainability
Conference
ISSN
ISBN
Citations 
2329-0595
978-1-4673-6445-4
3
PageRank 
References 
Authors
0.40
14
5
Name
Order
Citations
PageRank
Akira Goto130.74
Norihiro Yoshida219623.33
Masakazu Ioka330.74
Eunjong Choi47611.21
Katsuro Inoue52424172.31