Título: | A HISTORY SENSITIVE APPROACH TO CODE ANOMALY DETECTION | |||||||
Autor: |
LEANDRA MARA DA SILVA |
|||||||
Colaborador(es): |
CARLOS JOSE PEREIRA DE LUCENA - Orientador ALESSANDRO FABRICIO GARCIA - Coorientador |
|||||||
Catalogação: | 30/MAR/2011 | Língua(s): | PORTUGUESE - BRAZIL |
|||||
Tipo: | TEXT | Subtipo: | THESIS | |||||
Notas: |
[pt] Todos os dados constantes dos documentos são de inteira responsabilidade de seus autores. Os dados utilizados nas descrições dos documentos estão em conformidade com os sistemas da administração da PUC-Rio. [en] All data contained in the documents are the sole responsibility of the authors. The data used in the descriptions of the documents are in conformity with the systems of the administration of PUC-Rio. |
|||||||
Referência(s): |
[pt] https://www.maxwell.vrac.puc-rio.br/projetosEspeciais/ETDs/consultas/conteudo.php?strSecao=resultado&nrSeq=17163&idi=1 [en] https://www.maxwell.vrac.puc-rio.br/projetosEspeciais/ETDs/consultas/conteudo.php?strSecao=resultado&nrSeq=17163&idi=2 |
|||||||
DOI: | https://doi.org/10.17771/PUCRio.acad.17163 | |||||||
Resumo: | ||||||||
The modularization of the code can directly influence the software maintainability.
Therefore, researchers have proposed mechanisms to contribute
to the identification of potential modularity anomalies in source code. In
this context, a mechanism based on metrics that have been widespread are
the detection strategies. Commonly, they are based on metrics that consider
only properties of isolated versions of the systems. However, recent studies
have reported that these strategies have been considered counter-productive.
Our research is related to the investigation of the possible benefits of considering
information about the code evolution to detect anomalies. In this
context, this paper proposes a set of metrics and detection strategies that
consider historic properties of the code evolution. Furthermore, a measuring
and assessing tool to support the approach was also developed. This tool allows
the declarative specifcation of different detection strategies through a
domain-specific language. This fact meets the particular needs of developers
in setting strategies and dispose to researchers an opportune environment to
detection strategies experimentations. Also as a contribution of this research
is presented an evaluation of strategies in terms of precision and recall in
two systems of different domains. Results of conventional strategies and of
history-sensitive strategies are compared in detections of classical modularity
flaws, such as God Class, Divergent Change and Shotgun Surgery in
a total of 16 versions of these systems. Results of this study showed that
the use of information related to the code evolution can provide important
contributions to detect design flaws in code.
|
||||||||