On the detection of code clones with sequence of method calls

Detalhes bibliográficos
Ano de defesa: 2016
Autor(a) principal: Alexandre Martins Paiva
Orientador(a): Não Informado pela instituição
Banca de defesa: Não Informado pela instituição
Tipo de documento: Dissertação
Tipo de acesso: Acesso aberto
Idioma: eng
Instituição de defesa: Universidade Federal de Minas Gerais
Programa de Pós-Graduação: Não Informado pela instituição
Departamento: Não Informado pela instituição
País: Não Informado pela instituição
Palavras-chave em Português:
Link de acesso: https://hdl.handle.net/1843/ESBF-AFWNK8
Resumo: Software developers usually copy and paste code from a part of the system to another. This practice, called code clone, spreads same logic all over the system, hardening maintenance and evolution tasks. Several methods were proposed in order to locate code clones for further elimination. However, some types of code clones are hard to find, specially when the parts receive different changes. This work proposes a method for detecting code clones analyzing sequence of method calls. Our results were compared with code clones detected by a state of the practice tool, called PMD. In addition, a user study was conducted in order to manually evaluate the detections. Participants analyzed the code clones detected by our method. This user study showed that more than 90% of subjects agree with the code clones found by the method. Therefore, results so far indicate that sequence of method calls analysis is a valid strategy for code clone detection.
id UFMG_8db045aa4ea3b8bcc08b6c11282fd7ab
oai_identifier_str oai:repositorio.ufmg.br:1843/ESBF-AFWNK8
network_acronym_str UFMG
network_name_str Repositório Institucional da UFMG
repository_id_str
spelling On the detection of code clones with sequence of method callsMétodo de detecção código clonadoComputaçãoClonagem de códigométodo de detecçãocódigo clonadoSoftware developers usually copy and paste code from a part of the system to another. This practice, called code clone, spreads same logic all over the system, hardening maintenance and evolution tasks. Several methods were proposed in order to locate code clones for further elimination. However, some types of code clones are hard to find, specially when the parts receive different changes. This work proposes a method for detecting code clones analyzing sequence of method calls. Our results were compared with code clones detected by a state of the practice tool, called PMD. In addition, a user study was conducted in order to manually evaluate the detections. Participants analyzed the code clones detected by our method. This user study showed that more than 90% of subjects agree with the code clones found by the method. Therefore, results so far indicate that sequence of method calls analysis is a valid strategy for code clone detection.Universidade Federal de Minas Gerais2019-08-11T23:43:34Z2025-09-09T00:47:09Z2019-08-11T23:43:34Z2016-05-11info:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/masterThesisapplication/pdfhttps://hdl.handle.net/1843/ESBF-AFWNK8Alexandre Martins Paivainfo:eu-repo/semantics/openAccessengreponame:Repositório Institucional da UFMGinstname:Universidade Federal de Minas Gerais (UFMG)instacron:UFMG2025-09-09T00:47:09Zoai:repositorio.ufmg.br:1843/ESBF-AFWNK8Repositório InstitucionalPUBhttps://repositorio.ufmg.br/oairepositorio@ufmg.bropendoar:2025-09-09T00:47:09Repositório Institucional da UFMG - Universidade Federal de Minas Gerais (UFMG)false
dc.title.none.fl_str_mv On the detection of code clones with sequence of method calls
title On the detection of code clones with sequence of method calls
spellingShingle On the detection of code clones with sequence of method calls
Alexandre Martins Paiva
Método de detecção código clonado
Computação
Clonagem de código
método de detecção
código clonado
title_short On the detection of code clones with sequence of method calls
title_full On the detection of code clones with sequence of method calls
title_fullStr On the detection of code clones with sequence of method calls
title_full_unstemmed On the detection of code clones with sequence of method calls
title_sort On the detection of code clones with sequence of method calls
author Alexandre Martins Paiva
author_facet Alexandre Martins Paiva
author_role author
dc.contributor.author.fl_str_mv Alexandre Martins Paiva
dc.subject.por.fl_str_mv Método de detecção código clonado
Computação
Clonagem de código
método de detecção
código clonado
topic Método de detecção código clonado
Computação
Clonagem de código
método de detecção
código clonado
description Software developers usually copy and paste code from a part of the system to another. This practice, called code clone, spreads same logic all over the system, hardening maintenance and evolution tasks. Several methods were proposed in order to locate code clones for further elimination. However, some types of code clones are hard to find, specially when the parts receive different changes. This work proposes a method for detecting code clones analyzing sequence of method calls. Our results were compared with code clones detected by a state of the practice tool, called PMD. In addition, a user study was conducted in order to manually evaluate the detections. Participants analyzed the code clones detected by our method. This user study showed that more than 90% of subjects agree with the code clones found by the method. Therefore, results so far indicate that sequence of method calls analysis is a valid strategy for code clone detection.
publishDate 2016
dc.date.none.fl_str_mv 2016-05-11
2019-08-11T23:43:34Z
2019-08-11T23:43:34Z
2025-09-09T00:47:09Z
dc.type.status.fl_str_mv info:eu-repo/semantics/publishedVersion
dc.type.driver.fl_str_mv info:eu-repo/semantics/masterThesis
format masterThesis
status_str publishedVersion
dc.identifier.uri.fl_str_mv https://hdl.handle.net/1843/ESBF-AFWNK8
url https://hdl.handle.net/1843/ESBF-AFWNK8
dc.language.iso.fl_str_mv eng
language eng
dc.rights.driver.fl_str_mv info:eu-repo/semantics/openAccess
eu_rights_str_mv openAccess
dc.format.none.fl_str_mv application/pdf
dc.publisher.none.fl_str_mv Universidade Federal de Minas Gerais
publisher.none.fl_str_mv Universidade Federal de Minas Gerais
dc.source.none.fl_str_mv reponame:Repositório Institucional da UFMG
instname:Universidade Federal de Minas Gerais (UFMG)
instacron:UFMG
instname_str Universidade Federal de Minas Gerais (UFMG)
instacron_str UFMG
institution UFMG
reponame_str Repositório Institucional da UFMG
collection Repositório Institucional da UFMG
repository.name.fl_str_mv Repositório Institucional da UFMG - Universidade Federal de Minas Gerais (UFMG)
repository.mail.fl_str_mv repositorio@ufmg.br
_version_ 1856413964208963584