Usando medição de código fonte para refractoring

Detalhes bibliográficos
Autor(a) principal: Carneiro, Glauco de Figueiredo
Data de Publicação: 2003
Tipo de documento: Dissertação
Idioma: por
Título da fonte: Biblioteca Digital de Teses e Dissertações da UNIFACS
Texto Completo: http://teste.tede.unifacs.br:8080/tede/handle/tede/305
Resumo: Software refactoring - improving the internal structure of the software without changing its observable behavior - is an important action towards avoiding software quality decay. Key to this activity is the identification of portions of the source code that offers opportunities for refactoring - the so called "code bad smells". This dissertation proposes an approach to help on the detection of code bad smells through source code measurement. To solve this problem, however, other stages still not implemented are necessary. This dissertation focuses on the first step towards a concrete method to detect code bad smells through source code measurement. It presents a study that relates metrics, refactorings, and bad smells. Our study is broken into two parts. The first - top-down - part is based on the analytical application of the Goal-Question-Metric (GQM) method. The second - bottom-up - part is an empirical study on the relationship between well-known source code metrics, refactorings and code bad smells. The GQM study identified the type of metrics that are needed for each of the bad smells proposed by Fowler. The study shows that 75% of the needed metrics are not available. But, 78% of those can be implemented, while the remainder is strongly dependent on human cognitive analysis, therefore difficult if not impossible to implement. The empirical study analyzed 47 source code metrics over a case study - these metrics make up a comprehensive set among those commercially available on software measurement tools. The case study measured the variation of these metrics over a sequence of 77 refactorings. The study used two customized association measures to relate metrics and refactorings - metric-refactoring association coefficient (MRAC) and metric- refactoring strong association coefficient (MRSAC) - and the results of those associations are presented for the refactorings executed during the case study.
id UNIF_e335c2efdaecbdb65a81636f1216e878
oai_identifier_str oai:teste.tede.unifacs.br:tede/305
network_acronym_str UNIF
network_name_str Biblioteca Digital de Teses e Dissertações da UNIFACS
repository_id_str
spelling Mendonça Neto, Manoel Gomes dehttp://dgp.cnpq.br/buscaoperacional/detalhepesq.jsp?pesq=1608062196337851Maldonado, Jose Carloshttp://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4788864A1Costa, Augusto Cesar Pinto Loureiro dahttp://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4791479A5CPF:67825842553http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4799340J3Carneiro, Glauco de Figueiredo2016-04-29T14:14:40Z2007-01-052003-04-14CARNEIRO, Glauco de Figueiredo. On the Use of Source Code Measurement for Refactoring. 2003. 141 f. Dissertação (Mestrado em Sistemas e Computação) - Universidade Salvador, Salvador, 2003.http://teste.tede.unifacs.br:8080/tede/handle/tede/305Software refactoring - improving the internal structure of the software without changing its observable behavior - is an important action towards avoiding software quality decay. Key to this activity is the identification of portions of the source code that offers opportunities for refactoring - the so called "code bad smells". This dissertation proposes an approach to help on the detection of code bad smells through source code measurement. To solve this problem, however, other stages still not implemented are necessary. This dissertation focuses on the first step towards a concrete method to detect code bad smells through source code measurement. It presents a study that relates metrics, refactorings, and bad smells. Our study is broken into two parts. The first - top-down - part is based on the analytical application of the Goal-Question-Metric (GQM) method. The second - bottom-up - part is an empirical study on the relationship between well-known source code metrics, refactorings and code bad smells. The GQM study identified the type of metrics that are needed for each of the bad smells proposed by Fowler. The study shows that 75% of the needed metrics are not available. But, 78% of those can be implemented, while the remainder is strongly dependent on human cognitive analysis, therefore difficult if not impossible to implement. The empirical study analyzed 47 source code metrics over a case study - these metrics make up a comprehensive set among those commercially available on software measurement tools. The case study measured the variation of these metrics over a sequence of 77 refactorings. The study used two customized association measures to relate metrics and refactorings - metric-refactoring association coefficient (MRAC) and metric- refactoring strong association coefficient (MRSAC) - and the results of those associations are presented for the refactorings executed during the case study.Refactoring melhorando a estrutura interna do software sem modificação no seu comportamento observável é um mecanismo importante para se evitar a degradação da qualidade do software. Fundamental para tal finalidade é a identificação de trechos do código fonte que apresentam oportunidades de refactoring comumente chamadas de bad smells. Esta dissertação propõe uma abordagem para auxiliar na detecção de bad smells através de medição de código fonte. Como para resolver este problema são necessárias várias outras etapas ainda não implementadas, esta dissertação tem como objetivo estabelecer mecanismos que representem um primeiro passo no sentido de detectar bad smells através da medição de código fonte. Para tal finalidade é realizado um estudo que relaciona métricas, refactorings e bad smells. O estudo é dividido em duas partes. A primeira parte top-down é baseada na aplicação analítica do paradigma Meta Pergunta Métrica (MPM). A segunda parte bottom-up é um estudo empírico do relacionamento entre métricas conhecidas de código fonte, refactorings e bad smells. O estudo baseado na aplicação analítica do paradigma Meta Pergunta Métrica (MPM) identificou tipos de métricas necessários para a identificação dos bad smells propostos por Fowler. O estudo mostra que 75% das métricas necessárias não estão disponíveis, sendo que deste universo, aproximadamente 78% são factíveis e implementáveis e o restante são métricas fortemente dependentes de análise cognitiva e de difícil implementação. O estudo empírico analisou 47 métricas de código fonte ao longo de um estudo de caso estas métricas foram obtidas a partir de um conjunto de métricas comercialmente disponíveis em ferramentas de medição de software. O estudo de caso mediu a variação destas métricas ao longo da seqüência de 77 refactorings. Foram utilizados dois coeficientes criados nesta dissertação especialmente para associar métricas e refactorings Coeficiente de Associação entre Métrica e Refactoring (CAMR) e Coeficiente de Associação Forte entre Métrica e Refactoring (CAFMR) e os resultados destas associações são apresentados para os refactorings executados durante o estudo de caso.Made available in DSpace on 2016-04-29T14:14:40Z (GMT). No. of bitstreams: 1 Dissertacao Mestrado Glauco Carneiro Texto completo.pdf: 830570 bytes, checksum: 3b22439a218ae8a2e0c17bbef2028c41 (MD5) Previous issue date: 2003-04-14application/pdfporUniversidade SalvadorPrograma de Pós-Graduação em Sistemas e ComputaçãoUNIFACSBRSistemas e ComputaçãoRefactoringmétricas de softwareMeta Pergunta Métrica (Goal Question Metric)engenharia de softwareRefactoringsoftware metricsGoal Question Metricempirical studysoftware engineeringCNPQ::CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAOUsando medição de código fonte para refractoringOn the Use of Source Code Measurement for Refactoringinfo:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/masterThesisinfo:eu-repo/semantics/openAccessreponame:Biblioteca Digital de Teses e Dissertações da UNIFACSinstname:Universidade Salvador (UNIFACS)instacron:UNIFACSORIGINALDissertacao Mestrado Glauco Carneiro Texto completo.pdfapplication/pdf830570http://teste.tede.unifacs.br:8080/tede/bitstream/tede/305/1/Dissertacao+Mestrado+Glauco+Carneiro+Texto+completo.pdf3b22439a218ae8a2e0c17bbef2028c41MD51tede/3052016-04-29 11:14:40.886oai:teste.tede.unifacs.br:tede/305Biblioteca Digital de Teses e Dissertaçõeshttp://tede.unifacs.br/http://tede.unifacs.br:8080/oai/requestbibliotecadigital@unifacs.br||bibliotecadigital@unifacs.bropendoar:2016-04-29T14:14:40Biblioteca Digital de Teses e Dissertações da UNIFACS - Universidade Salvador (UNIFACS)false
dc.title.por.fl_str_mv Usando medição de código fonte para refractoring
dc.title.alternative.eng.fl_str_mv On the Use of Source Code Measurement for Refactoring
title Usando medição de código fonte para refractoring
spellingShingle Usando medição de código fonte para refractoring
Carneiro, Glauco de Figueiredo
Refactoring
métricas de software
Meta Pergunta Métrica (Goal Question Metric)
engenharia de software
Refactoring
software metrics
Goal Question Metric
empirical study
software engineering
CNPQ::CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO
title_short Usando medição de código fonte para refractoring
title_full Usando medição de código fonte para refractoring
title_fullStr Usando medição de código fonte para refractoring
title_full_unstemmed Usando medição de código fonte para refractoring
title_sort Usando medição de código fonte para refractoring
author Carneiro, Glauco de Figueiredo
author_facet Carneiro, Glauco de Figueiredo
author_role author
dc.contributor.advisor1.fl_str_mv Mendonça Neto, Manoel Gomes de
dc.contributor.advisor1Lattes.fl_str_mv http://dgp.cnpq.br/buscaoperacional/detalhepesq.jsp?pesq=1608062196337851
dc.contributor.referee1.fl_str_mv Maldonado, Jose Carlos
dc.contributor.referee1Lattes.fl_str_mv http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4788864A1
dc.contributor.referee2.fl_str_mv Costa, Augusto Cesar Pinto Loureiro da
dc.contributor.referee2Lattes.fl_str_mv http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4791479A5
dc.contributor.authorID.fl_str_mv CPF:67825842553
dc.contributor.authorLattes.fl_str_mv http://buscatextual.cnpq.br/buscatextual/visualizacv.do?id=K4799340J3
dc.contributor.author.fl_str_mv Carneiro, Glauco de Figueiredo
contributor_str_mv Mendonça Neto, Manoel Gomes de
Maldonado, Jose Carlos
Costa, Augusto Cesar Pinto Loureiro da
dc.subject.por.fl_str_mv Refactoring
métricas de software
Meta Pergunta Métrica (Goal Question Metric)
engenharia de software
topic Refactoring
métricas de software
Meta Pergunta Métrica (Goal Question Metric)
engenharia de software
Refactoring
software metrics
Goal Question Metric
empirical study
software engineering
CNPQ::CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO
dc.subject.eng.fl_str_mv Refactoring
software metrics
Goal Question Metric
empirical study
software engineering
dc.subject.cnpq.fl_str_mv CNPQ::CIENCIAS EXATAS E DA TERRA::CIENCIA DA COMPUTACAO
description Software refactoring - improving the internal structure of the software without changing its observable behavior - is an important action towards avoiding software quality decay. Key to this activity is the identification of portions of the source code that offers opportunities for refactoring - the so called "code bad smells". This dissertation proposes an approach to help on the detection of code bad smells through source code measurement. To solve this problem, however, other stages still not implemented are necessary. This dissertation focuses on the first step towards a concrete method to detect code bad smells through source code measurement. It presents a study that relates metrics, refactorings, and bad smells. Our study is broken into two parts. The first - top-down - part is based on the analytical application of the Goal-Question-Metric (GQM) method. The second - bottom-up - part is an empirical study on the relationship between well-known source code metrics, refactorings and code bad smells. The GQM study identified the type of metrics that are needed for each of the bad smells proposed by Fowler. The study shows that 75% of the needed metrics are not available. But, 78% of those can be implemented, while the remainder is strongly dependent on human cognitive analysis, therefore difficult if not impossible to implement. The empirical study analyzed 47 source code metrics over a case study - these metrics make up a comprehensive set among those commercially available on software measurement tools. The case study measured the variation of these metrics over a sequence of 77 refactorings. The study used two customized association measures to relate metrics and refactorings - metric-refactoring association coefficient (MRAC) and metric- refactoring strong association coefficient (MRSAC) - and the results of those associations are presented for the refactorings executed during the case study.
publishDate 2003
dc.date.issued.fl_str_mv 2003-04-14
dc.date.available.fl_str_mv 2007-01-05
dc.date.accessioned.fl_str_mv 2016-04-29T14:14:40Z
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.citation.fl_str_mv CARNEIRO, Glauco de Figueiredo. On the Use of Source Code Measurement for Refactoring. 2003. 141 f. Dissertação (Mestrado em Sistemas e Computação) - Universidade Salvador, Salvador, 2003.
dc.identifier.uri.fl_str_mv http://teste.tede.unifacs.br:8080/tede/handle/tede/305
identifier_str_mv CARNEIRO, Glauco de Figueiredo. On the Use of Source Code Measurement for Refactoring. 2003. 141 f. Dissertação (Mestrado em Sistemas e Computação) - Universidade Salvador, Salvador, 2003.
url http://teste.tede.unifacs.br:8080/tede/handle/tede/305
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 Salvador
dc.publisher.program.fl_str_mv Programa de Pós-Graduação em Sistemas e Computação
dc.publisher.initials.fl_str_mv UNIFACS
dc.publisher.country.fl_str_mv BR
dc.publisher.department.fl_str_mv Sistemas e Computação
publisher.none.fl_str_mv Universidade Salvador
dc.source.none.fl_str_mv reponame:Biblioteca Digital de Teses e Dissertações da UNIFACS
instname:Universidade Salvador (UNIFACS)
instacron:UNIFACS
instname_str Universidade Salvador (UNIFACS)
instacron_str UNIFACS
institution UNIFACS
reponame_str Biblioteca Digital de Teses e Dissertações da UNIFACS
collection Biblioteca Digital de Teses e Dissertações da UNIFACS
bitstream.url.fl_str_mv http://teste.tede.unifacs.br:8080/tede/bitstream/tede/305/1/Dissertacao+Mestrado+Glauco+Carneiro+Texto+completo.pdf
bitstream.checksum.fl_str_mv 3b22439a218ae8a2e0c17bbef2028c41
bitstream.checksumAlgorithm.fl_str_mv MD5
repository.name.fl_str_mv Biblioteca Digital de Teses e Dissertações da UNIFACS - Universidade Salvador (UNIFACS)
repository.mail.fl_str_mv bibliotecadigital@unifacs.br||bibliotecadigital@unifacs.br
_version_ 1800393062926516224