Inter-relação entre smells - uma análise de Large Class, Complex Class e Clone
Autor(a) principal: | |
---|---|
Data de Publicação: | 2019 |
Tipo de documento: | Tese |
Idioma: | por |
Título da fonte: | Repositório Institucional da UFU |
Texto Completo: | https://repositorio.ufu.br/handle/123456789/24948 http://dx.doi.org/10.14393/ufu.te.2019.1231 |
Resumo: | Bad smells have been defined to describe potential problems in code, possibly pointing out refactoring opportunities. Several empirical studies have highlighted that bad smells have a negative impact on the comprehension and maintainability of a software systems. Consequently, their identification has received recently attention from researchers who have proposed various approaches to detect and restructure them. However, studies on the inter-relationship of occurrences in source code of different types of bad smells are still lacking, especially those focused on the quantification of this inter-relationship. Thus, in this work, we describe and present an empirical study on the inter-relation of smells Large Class, Complex Class and Duplicate Code. As one of the main results of the inter-relation, we highlight that there are "occurrence patterns" among these smells, for example: in the co-occurrence of Large Class and Complex Class, the clones are predominantly intra-class. Possibly, these patterns can be used to improve the performance of detection tools or even help in refactoring tasks. We also present a study of the chronology of smells, it is characterized by tracing the ancestry of a given entity that exhibits some smell. The results indicate that, after a certain initial period of the systems, the proportion of classes without smell is greater than the quantity with some smell. Furthermore, throughout the systems life cycle, several classes are deleted and/or they migrate from the repositories. This has an impact on the tools that help developers, because they do not consider this phenomenon. In addition, we also demonstrate a metric able to separating classes into groups ("Removed" and "Not Removed"). Finally, we present some situations that the smells have a cyclic behavior and rarely, the simple occurrence of smell becomes a co-occurrence. The results presented revealed findings that complement the state of the art in the literature. Therefore, the findings have an impact on the area of smells, in particular to the development of a new generation of tools. |
id |
UFU_c096c4430a4745b25c4fb110fe2b3050 |
---|---|
oai_identifier_str |
oai:repositorio.ufu.br:123456789/24948 |
network_acronym_str |
UFU |
network_name_str |
Repositório Institucional da UFU |
repository_id_str |
|
spelling |
Inter-relação entre smells - uma análise de Large Class, Complex Class e CloneInter-relationship between smells - an analysis of Large Class, Complex Class, and CloneManutenção de SoftwareSoftware MaintenanceRe-engenharia de SoftwareSoftware ReengineeringBad SmellsComputaçãoEngenharia de softwareRefatoração de softwareSoftware - ManutençãoCNPQ::CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO::METODOLOGIA E TECNICAS DA COMPUTACAO::ENGENHARIA DE SOFTWAREBad smells have been defined to describe potential problems in code, possibly pointing out refactoring opportunities. Several empirical studies have highlighted that bad smells have a negative impact on the comprehension and maintainability of a software systems. Consequently, their identification has received recently attention from researchers who have proposed various approaches to detect and restructure them. However, studies on the inter-relationship of occurrences in source code of different types of bad smells are still lacking, especially those focused on the quantification of this inter-relationship. Thus, in this work, we describe and present an empirical study on the inter-relation of smells Large Class, Complex Class and Duplicate Code. As one of the main results of the inter-relation, we highlight that there are "occurrence patterns" among these smells, for example: in the co-occurrence of Large Class and Complex Class, the clones are predominantly intra-class. Possibly, these patterns can be used to improve the performance of detection tools or even help in refactoring tasks. We also present a study of the chronology of smells, it is characterized by tracing the ancestry of a given entity that exhibits some smell. The results indicate that, after a certain initial period of the systems, the proportion of classes without smell is greater than the quantity with some smell. Furthermore, throughout the systems life cycle, several classes are deleted and/or they migrate from the repositories. This has an impact on the tools that help developers, because they do not consider this phenomenon. In addition, we also demonstrate a metric able to separating classes into groups ("Removed" and "Not Removed"). Finally, we present some situations that the smells have a cyclic behavior and rarely, the simple occurrence of smell becomes a co-occurrence. The results presented revealed findings that complement the state of the art in the literature. Therefore, the findings have an impact on the area of smells, in particular to the development of a new generation of tools.CAPES - Coordenação de Aperfeiçoamento de Pessoal de Nível SuperiorTese (Doutorado)Bad smells descrevem possíveis problemas no código, apontando potenciais oportunidades de refatoração. Diversos estudos empíricos evidenciaram que os bad smells têm um negativo impacto na compreensão e manutenção dos projetos de software. Consequentemente, a identificação de bad smells recebeu atenção de pesquisadores que propuseram várias abordagens de detecção e reestruturação. Contudo, a inter-relação da ocorrência no código dos diferentes tipos de bad smells ainda é carente de estudos, especialmente, aqueles focados na quantificação desta inter-relação. Assim, este trabalho descreve e apresenta um estudo empírico sobre a inter-relação dos bad smells: Large Class, Complex Class e Duplicate Code. Como um dos principais resultados da inter-relação, destacamos que existem "padrões de ocorrência" entre estes smells, por exemplo: na co-ocorrência dos smells Large Class e Complex Class, os clones são predominantemente intra-classe. Também apresentamos um estudo da cronologia de smells, que é caracterizada pelo rastreamento da ancestralidade de uma dada entidade que apresenta algum smell. Os resultados indicam que, após um certo período inicial de amadurecimento dos sistemas, a proporção de classes sem smell é maior do que a quantidade com algum smell. Além disso, ao longo do ciclo de vida dos sistemas, diversas classes são excluídas e/ou migram de repositórios. Isso tem impacto nas ferramentas que auxiliam os desenvolvedores, pois elas não consideram esse fenômeno. Além disso, também demonstramos uma métrica capaz de separar as classes em grupos ("Serão Removidas" e "Não serão removidas"). Por fim, apresentamos algumas situações de smells com comportamento cíclico e que, raramente, a simples ocorrência de um dado smell se torna uma co-ocorrência. Os resultados apresentados revelaram achados que complementam o estado da arte da literatura. Portanto, destacamos que os achados têm impacto na área de bad smells, em particular no desenvolvimento de uma nova geração de ferramentas verificadoras da qualidade do código fonte.Universidade Federal de UberlândiaBrasilPrograma de Pós-graduação em Ciência da ComputaçãoMaia, Marcelo de Almeidahttp://lattes.cnpq.br/4915659948263445Sant'anna, Cláudio NogueiraJúnior, Edgard Afonso LamounierFigueiredo, Eduardo Magno LagesDorça, Fabiano AzevedoPaulo Sobrinho, Elder Vicente de2019-04-25T13:55:07Z2019-04-25T13:55:07Z2019-03-25info:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/doctoralThesisapplication/pdfPAULO SOBRINHO, Elder Vicente de. Inter-relação entre smells - uma análise de large class, complex class e clone. 2019. 193 f. Tese (Doutorado em Ciência da Computação) – Universidade Federal de Uberlândia, Uberlândia, 2019. DOI http://dx.doi.org/10.14393/ufu.te.2019.1231.https://repositorio.ufu.br/handle/123456789/24948http://dx.doi.org/10.14393/ufu.te.2019.1231porinfo:eu-repo/semantics/openAccessreponame:Repositório Institucional da UFUinstname:Universidade Federal de Uberlândia (UFU)instacron:UFU2019-04-26T06:05:48Zoai:repositorio.ufu.br:123456789/24948Repositório InstitucionalONGhttp://repositorio.ufu.br/oai/requestdiinf@dirbi.ufu.bropendoar:2019-04-26T06:05:48Repositório Institucional da UFU - Universidade Federal de Uberlândia (UFU)false |
dc.title.none.fl_str_mv |
Inter-relação entre smells - uma análise de Large Class, Complex Class e Clone Inter-relationship between smells - an analysis of Large Class, Complex Class, and Clone |
title |
Inter-relação entre smells - uma análise de Large Class, Complex Class e Clone |
spellingShingle |
Inter-relação entre smells - uma análise de Large Class, Complex Class e Clone Paulo Sobrinho, Elder Vicente de Manutenção de Software Software Maintenance Re-engenharia de Software Software Reengineering Bad Smells Computação Engenharia de software Refatoração de software Software - Manutenção CNPQ::CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO::METODOLOGIA E TECNICAS DA COMPUTACAO::ENGENHARIA DE SOFTWARE |
title_short |
Inter-relação entre smells - uma análise de Large Class, Complex Class e Clone |
title_full |
Inter-relação entre smells - uma análise de Large Class, Complex Class e Clone |
title_fullStr |
Inter-relação entre smells - uma análise de Large Class, Complex Class e Clone |
title_full_unstemmed |
Inter-relação entre smells - uma análise de Large Class, Complex Class e Clone |
title_sort |
Inter-relação entre smells - uma análise de Large Class, Complex Class e Clone |
author |
Paulo Sobrinho, Elder Vicente de |
author_facet |
Paulo Sobrinho, Elder Vicente de |
author_role |
author |
dc.contributor.none.fl_str_mv |
Maia, Marcelo de Almeida http://lattes.cnpq.br/4915659948263445 Sant'anna, Cláudio Nogueira Júnior, Edgard Afonso Lamounier Figueiredo, Eduardo Magno Lages Dorça, Fabiano Azevedo |
dc.contributor.author.fl_str_mv |
Paulo Sobrinho, Elder Vicente de |
dc.subject.por.fl_str_mv |
Manutenção de Software Software Maintenance Re-engenharia de Software Software Reengineering Bad Smells Computação Engenharia de software Refatoração de software Software - Manutenção CNPQ::CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO::METODOLOGIA E TECNICAS DA COMPUTACAO::ENGENHARIA DE SOFTWARE |
topic |
Manutenção de Software Software Maintenance Re-engenharia de Software Software Reengineering Bad Smells Computação Engenharia de software Refatoração de software Software - Manutenção CNPQ::CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO::METODOLOGIA E TECNICAS DA COMPUTACAO::ENGENHARIA DE SOFTWARE |
description |
Bad smells have been defined to describe potential problems in code, possibly pointing out refactoring opportunities. Several empirical studies have highlighted that bad smells have a negative impact on the comprehension and maintainability of a software systems. Consequently, their identification has received recently attention from researchers who have proposed various approaches to detect and restructure them. However, studies on the inter-relationship of occurrences in source code of different types of bad smells are still lacking, especially those focused on the quantification of this inter-relationship. Thus, in this work, we describe and present an empirical study on the inter-relation of smells Large Class, Complex Class and Duplicate Code. As one of the main results of the inter-relation, we highlight that there are "occurrence patterns" among these smells, for example: in the co-occurrence of Large Class and Complex Class, the clones are predominantly intra-class. Possibly, these patterns can be used to improve the performance of detection tools or even help in refactoring tasks. We also present a study of the chronology of smells, it is characterized by tracing the ancestry of a given entity that exhibits some smell. The results indicate that, after a certain initial period of the systems, the proportion of classes without smell is greater than the quantity with some smell. Furthermore, throughout the systems life cycle, several classes are deleted and/or they migrate from the repositories. This has an impact on the tools that help developers, because they do not consider this phenomenon. In addition, we also demonstrate a metric able to separating classes into groups ("Removed" and "Not Removed"). Finally, we present some situations that the smells have a cyclic behavior and rarely, the simple occurrence of smell becomes a co-occurrence. The results presented revealed findings that complement the state of the art in the literature. Therefore, the findings have an impact on the area of smells, in particular to the development of a new generation of tools. |
publishDate |
2019 |
dc.date.none.fl_str_mv |
2019-04-25T13:55:07Z 2019-04-25T13:55:07Z 2019-03-25 |
dc.type.status.fl_str_mv |
info:eu-repo/semantics/publishedVersion |
dc.type.driver.fl_str_mv |
info:eu-repo/semantics/doctoralThesis |
format |
doctoralThesis |
status_str |
publishedVersion |
dc.identifier.uri.fl_str_mv |
PAULO SOBRINHO, Elder Vicente de. Inter-relação entre smells - uma análise de large class, complex class e clone. 2019. 193 f. Tese (Doutorado em Ciência da Computação) – Universidade Federal de Uberlândia, Uberlândia, 2019. DOI http://dx.doi.org/10.14393/ufu.te.2019.1231. https://repositorio.ufu.br/handle/123456789/24948 http://dx.doi.org/10.14393/ufu.te.2019.1231 |
identifier_str_mv |
PAULO SOBRINHO, Elder Vicente de. Inter-relação entre smells - uma análise de large class, complex class e clone. 2019. 193 f. Tese (Doutorado em Ciência da Computação) – Universidade Federal de Uberlândia, Uberlândia, 2019. DOI http://dx.doi.org/10.14393/ufu.te.2019.1231. |
url |
https://repositorio.ufu.br/handle/123456789/24948 http://dx.doi.org/10.14393/ufu.te.2019.1231 |
dc.language.iso.fl_str_mv |
por |
language |
por |
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 Uberlândia Brasil Programa de Pós-graduação em Ciência da Computação |
publisher.none.fl_str_mv |
Universidade Federal de Uberlândia Brasil Programa de Pós-graduação em Ciência da Computação |
dc.source.none.fl_str_mv |
reponame:Repositório Institucional da UFU instname:Universidade Federal de Uberlândia (UFU) instacron:UFU |
instname_str |
Universidade Federal de Uberlândia (UFU) |
instacron_str |
UFU |
institution |
UFU |
reponame_str |
Repositório Institucional da UFU |
collection |
Repositório Institucional da UFU |
repository.name.fl_str_mv |
Repositório Institucional da UFU - Universidade Federal de Uberlândia (UFU) |
repository.mail.fl_str_mv |
diinf@dirbi.ufu.br |
_version_ |
1805569725573365760 |