Quality Improvement in Annotated Code

Autor: Diego A. A. Correia, Eduardo M. Guerra, Fabio F. Silveira, Clovis T. Fernandes
Jazyk: angličtina
Rok vydání: 2010
Předmět:
Zdroj: CLEI Electronic Journal, Vol 13, Iss 2 (2010)
Druh dokumentu: article
ISSN: 0717-5000
DOI: 10.19153/cleiej.13.2.7
Popis: In order to customize their behavior at runtime, a wide sort of modern frameworks do use code annotations at the applications‟ classes as metadata configuration. However, despite its popularity, this type of metadata definition inserts complexity and semantic coupling that is ignored by traditional software metrics. This paper presents identified bad smells in annotated code and defines new metrics that help in their detection by enabling a quantitative assessment of complexity and coupling in this type of code. Moreover, it proposes some strategies to detect those bad smells by using the defined metrics and introduces an open-source tool created to automate the process of bad smell discovery on annotated code.
Databáze: Directory of Open Access Journals