Primitive enthusiasm : a road to primitive obsession

Gál, Péter and Pengő, Edit: Primitive enthusiasm : a road to primitive obsession. Conference of PhD Students in Computer Science, (11). pp. 134-137. (2018)

[img] Cikk, tanulmány, mű
cscs_2018_147-150.pdf

Download (274kB)

Abstract

Code bad smells usually indicate that there are low quality, hardly readable and maintainable parts in the source code. Static analysis tools can help programmers to identify bad smells and guide the refactoring process. Bad smell detection techniques have a considerable amount of literature although there are still a few types that need further study by the research community. The Primitive Obsession smell is one of them. In this paper, we studied the definition of Primitive Obsession and based on that we introduced a method level metric, Primitive Enthusiasm, that can be used as an indicator for the smell. We implemented an algorithm for Primitive Enthusiasm calculation on Java code and analysed two real life Java systems along with a sample project. As no benchmark was available, we performed a manual validation of the results.

Item Type: Article
Event Title: Conference of PhD students in computer science (11.) (2018) (Szeged)
Journal or Publication Title: Conference of PhD Students in Computer Science
Date: 2018
Volume: 11
Page Range: pp. 134-137
Uncontrolled Keywords: Számítástechnika
Additional Information: Bibliogr.: 137. p. ; összefoglalás angol nyelven
Date Deposited: 2019. Nov. 04. 13:38
Last Modified: 2019. Nov. 04. 13:38
URI: http://acta.bibl.u-szeged.hu/id/eprint/61785

Actions (login required)

View Item View Item