Title :
Linguistic Driven Refactoring of Source Code Identifiers
Author :
Eshkevari, Laleh Mousavi
Author_Institution :
SOCCER Lab., Ptidej Team, Ecole Polytech. de Montreal, Montreal, QC, Canada
Abstract :
Identifiers are an important source of information during program understanding and maintenance. Programmers often use identifiers to build their mental models of the software artifacts. We have performed a preliminary study to examine the relation between the terms in identifiers, their spread in entities, and fault proneness. We introduced term entropy and context-coverage to measure how scattered terms are across program entities and how unrelated are the methods and attributes containing these terms. Our results showed that methods and attributes containing terms with high entropy and context-coverage are more fault-prone. We plan to build on this study by extracting linguistic information form methods and classes. Using this information, we plan to establish traceability link from domain concepts to source code, and to propose linguistic based refactoring.
Keywords :
software maintenance; software quality; context-coverage; linguistic based refactoring; linguistic driven refactoring; software artifact mental model; source code identifier; term entropy; traceability link; Conferences; Context; Entropy; Measurement; Pragmatics; Presses; Software; Identifiers; liguistic refactoring;
Conference_Titel :
Reverse Engineering (WCRE), 2010 17th Working Conference on
Conference_Location :
Beverly, MA
Print_ISBN :
978-1-4244-8911-4
DOI :
10.1109/WCRE.2010.44