DocumentCode :
555350
Title :
Identifying method friendships to remove the feature envy bad smell: NIER track
Author :
Oliveto, Rocco ; Gethers, Malcom ; Bavota, Gabriele ; Poshyvanyk, Denys ; De Lucia, Andrea
Author_Institution :
Univ. of Molise, Pesche, Italy
fYear :
2011
fDate :
21-28 May 2011
Firstpage :
820
Lastpage :
823
Abstract :
We propose a novel approach to identify Move Method refactoring opportunities and remove the Feature Envy bad smell from source code. The proposed approach analyzes both structural and conceptual relationships between methods and uses Relational Topic Models to identify sets of methods that share several responsabilities, i.e., ´friend methods´. The analysis of method friendships of a given method can be used to pinpoint the target class (envied class) where the method should be moved in. The results of a preliminary empirical evaluation indicate that the proposed approach provides meaningful refactoring opportunities.
Keywords :
program compilers; software maintenance; NIER track; feature envy bad smell; method friendships identification; move method refactoring opportunities; relational topic models; source code; Accuracy; Couplings; Educational institutions; Facebook; Measurement; Reliability; Software; refactoring; relational topic model; source code quality;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering (ICSE), 2011 33rd International Conference on
Conference_Location :
Honolulu, HI
ISSN :
0270-5257
Print_ISBN :
978-1-4503-0445-0
Electronic_ISBN :
0270-5257
Type :
conf
DOI :
10.1145/1985793.1985913
Filename :
6032527
Link To Document :
بازگشت