Use este identificador para citar ou linkar para este item: http://repositorio.ufla.br/jspui/handle/1/46122
Título: Uma abordagem híbrida para detecção de código clonado em Linhas de Produtos de Software
Título(s) alternativo(s): A hybrid approach for cloned code detection in software product lines
Autores: Costa, Heitor Augustus Xavier
Parreira Júnior, Paulo Afonso
Figueiredo, Eduardo Magno Lages
Palavras-chave: Clonagem de código
Linha de produtos de software
Code cloning
Software product line
Data do documento: 18-Fev-2021
Editor: Universidade Federal de Lavras
Citação: BATISTA, M. E. Uma abordagem híbrida para detecção de código clonado em Linhas de Produtos de Software. 2020. 100 p. Dissertação (Mestrado em Ciência da Computação) – Universidade Federal de Lavras, Lavras, 2021.
Resumo: Software Product Line (SPL) corresponds to software systems that share a common set of functions (commonality) that were developed using a common asset base, plus variations (variability) that are important characteristics to differentiate products from the same systems family. Cloned codes enter the scope of software systems development for several reasons, such as copy and paste, reuse code, add functions and increase and derive data. Given the existence of four types of clones, being classified according to their syntactic (Types 1, 2 and 3) or semantic similarity (Type 4), there are several reports of their occurrence in object-oriented systems whose relations are directly linked to software quality and maintainability. In the context of LPS development, it is possible to detect the existence of cloned code and make necessary changes so that this code is not propagated to other products originating from that LPS. In this Master's work, the objective is to address how to detect cloning of code in LPS, presenting a proposal for a hybrid approach to detecting Type 1 and 2 code clones in LPS. Such an approach is based on the construction of a dependency graph using AST and consists of the use of techniques for static code analysis, supported by the analysis of the sequence of method calls and the structural analysis of method signatures. In order to be able to (semi) automate this proposal of approach, a computational support (plug-in for the Eclipse IDE platform) was implemented and the evaluation of this proposal was carried out, through the internal and external evaluation where the values of precision and recalling the use of this support and comparing it with another clone detection tool. The results obtained show a high precision and reliability in the use of the tool developed to detect clones in LPS oriented to the characteristic besides the comparison of the clones obtained in relation to the PMD CPD tool.
URI: http://repositorio.ufla.br/jspui/handle/1/46122
Aparece nas coleções:Ciência da Computação - Mestrado (Dissertações)

Arquivos associados a este item:
Arquivo Descrição TamanhoFormato 
DISSERTAÇÃO_Uma abordagem híbrida para detecção de código clonado em Linhas de Produtos de Software.pdf1,87 MBAdobe PDFVisualizar/Abrir


Os itens no repositório estão protegidos por copyright, com todos os direitos reservados, salvo quando é indicado o contrário.