Quality Improvement in Annotated Code
Author(s) -
Diego A. A. Correia,
Eduardo Guerra,
Fábio Fagundes Silveira,
Clovis Torres Fernandes
Publication year - 2010
Publication title -
clei electronic journal
Language(s) - English
Resource type - Journals
ISSN - 0717-5000
DOI - 10.19153/cleiej.13.2.7
Subject(s) - code smell , metadata , computer science , sort , code (set theory) , popularity , source code , process (computing) , quality (philosophy) , software engineering , software quality , software , information retrieval , programming language , world wide web , software development , philosophy , epistemology , set (abstract data type) , psychology , social psychology
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.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom