A Contextualized Vocabulary Model for Identifying Technical Debt in Code Comments.
Mário André, André Batista, Manoel Mendonça, Rodrigo Spínola
Federal University of Bahia
A Contextualized Vocabulary Model for Identifying Technical Debt in - - PowerPoint PPT Presentation
A Contextualized Vocabulary Model for Identifying Technical Debt in Code Comments. Mrio Andr , Andr Batista, Manoel Mendona, Rodrigo Spnola Federal University of Bahia Agenda. Introduction Motivation A Contextualized
Mário André, André Batista, Manoel Mendonça, Rodrigo Spínola
Federal University of Bahia
www.tdresearchteam.com 2
www.tdresearchteam.com 3
www.tdresearchteam.com 4
www.tdresearchteam.com 5
www.tdresearchteam.com 6
To generate a NP, we combine [Verb] + [Adj ] + [SE Noun] SE noun is the central element in a NP.
e.g. bad (Adj) + code (Noun). remove (Verb) + method (Noun).
high context information
Noun Adj Verb
www.tdresearchteam.com 7
We combine: Expression = [Adv] + [Tag] + [NP] Expression = [Adv] + [Tag] + SE Noun
e.g.: “Todo: should fix the bad code” Here, we have a contextualized expression.
www.tdresearchteam.com 8
www.tdresearchteam.com 9
Selecting the projects and participants Extracting comments Filtering comments Analyzing comments
Lucene;
students analyzed the projects;
Set of comments Set of candidate comments Set of comments that can indicate a TD item
www.tdresearchteam.com 12
www.tdresearchteam.com 13
www.tdresearchteam.com 14
[1] C. Izurieta, A. Vetrò, N. Zazworka, Y. Cai, C. Seaman, and F. Shull, "Organizing the technical debt landscape", 3rd Int. Work. Manag. Tech. Debt, MTD 2012 - Proc., pp. 23–26, 2012. [2] N. S. R. Alves, L. F. Ribeiro, V. Caires, T. S. Mendes, and R. O. Spínola, "Towards an Ontology of Terms on Technical Debt". In Proceedings of the Sixth International Workshop on Managing Technical Debt (MTD). IEEE Computer Society, Washington, DC, 2014. [3] P. Wongthongtham, E. Chang, T. Dillon, and I. Sommerville, “Development of a software engineering
2009. [4] M. Colaço, M. Mendonça, M. A. F. Farias, and P. Henrique, “A Neurolinguistic-based Methodology for Identifying OSS Developers Context-Specific Preferred Representational Systems,” ICSEA, 2012
www.tdresearchteam.com 15
www.tdresearchteam.com 16
Mário André, André Batista, Manoel Mendonça, Rodrigo Spínola
Federal University of Bahia