Primitive enthusiasm : a road to primitive obsession

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

Cikk, tanulmány, mű

Download (274kB) | Preview


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
Journal or Publication Title: Conference of PhD Students in Computer Science
Date: 2018
Volume: 11
Page Range: pp. 134-137
Event Title: Conference of PhD students in computer science (11.) (2018) (Szeged)
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

Actions (login required)

View Item View Item