a contextualized vocabulary model
play

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


  1. 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

  2. Agenda. • Introduction – Motivation • A Contextualized Vocabulary Model for Identifying Technical Debt (CVM-TD) • Exploratory Study • Conclusion and Future Works www.tdresearchteam.com 2

  3. Motivation. • Different indicators have been used by automated approaches to identify TD[2]; – These indicators use software metrics. • The problem with these approaches... • In order to complement these quantitative analyses, we developed the CVM-TD www.tdresearchteam.com 3

  4. Agenda. • Introduction – Motivation • A Contextualized Vocabulary Model for Identifying Technical Debt (CVM-TD) • Exploratory Study • Conclusion and Future Works www.tdresearchteam.com 4

  5. CVM-TD • CVM-TD is a contextualized collection of terms that focuses on using word classes and code tags. www.tdresearchteam.com 5

  6. CVM-TD To generate a NP, we combine [Verb] + [Adj ] + [SE Noun] SE noun is the central element in a NP. Adj Noun Verb e.g. bad (Adj) + code (Noun). remove (Verb) + method (Noun). --- NP is a composed terms that provide high context information www.tdresearchteam.com 6

  7. CVM-TD 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 7

  8. CVM-TD. • CVM-TD provides a set of TD vocabulary that may be used to filter comments that need more attention because they may indicate a TD. • The contextualized vocabulary can be used to support TD identification www.tdresearchteam.com 8

  9. Agenda. • Introduction – Motivation • A Contextualized Vocabulary Model for Identifying Technical Debt (CVM-TD) • Exploratory Study • Conclusion and Future Works www.tdresearchteam.com 9

  10. Exploratory Study • We performed an exploratory study to analyze the viability of the proposed model to support comments analysis for TD identification

  11. Exploratory Study. Selecting the Filtering Extracting Analyzing projects and comments comments comments participants - jEdit and Set of Set of Lucene; comments Set of candidate comments that - Four masters students comments can indicate a analyzed the TD item projects;

  12. Agenda. • Introduction – Motivation • A Contextualized Vocabulary Model for Identifying Technical Debt (CVM-TD) • Exploratory Study • Conclusion and Future Works www.tdresearchteam.com 12

  13. Contributions of work • Our findings show that: – (i) the dimensions considered by the model are used by developers when writing comments, – (ii) CVM-TD provides a vocabulary which may be used to detect TD, and – (iii) In spite of our outcomes being promising, the proposed model needs to be improved and evaluated with other projects. www.tdresearchteam.com 13

  14. Future works. • Identify points that may improve CVM-TD; • Implement CVM-TD model and integrate it with a comment analysis tool; • Evaluate the use of CVM-TD in other software projects. www.tdresearchteam.com 14

  15. References [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 ontology for multisite software development,” IEEE Trans. Knowl. Data Eng., vol. 21, no. 8, pp. 1205 – 1217, 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

  16. Questions www.tdresearchteam.com 16

  17. A Contextualized Vocabulary Model for Identifying Technical Debt on Code Comments Mário André , André Batista, Manoel Mendonça, Rodrigo Spínola Federal University of Bahia

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend