Primitive enthusiasm : a road to primitive obsession

Gál Péter; Pengő Edit: Primitive enthusiasm : a road to primitive obsession.

[thumbnail of cscs_2018_147-150.pdf]
Előnézet
Cikk, tanulmány, mű
cscs_2018_147-150.pdf

Letöltés (274kB) | Előnézet

Absztrakt (kivonat)

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.

Mű típusa: Konferencia vagy workshop anyag
Befoglaló folyóirat/kiadvány címe: Conference of PhD Students in Computer Science
Dátum: 2018
Kötet: 11
Oldalak: pp. 134-137
Konferencia neve: Conference of PhD students in computer science (11.) (2018) (Szeged)
Befoglaló mű URL: http://acta.bibl.u-szeged.hu/59477/
Kulcsszavak: Számítástechnika
Megjegyzések: Bibliogr.: 137. p. ; összefoglalás angol nyelven
Feltöltés dátuma: 2019. nov. 04. 13:38
Utolsó módosítás: 2022. nov. 08. 10:18
URI: http://acta.bibl.u-szeged.hu/id/eprint/61785
Bővebben:
Tétel nézet Tétel nézet