You are here

Kutatószeminárium

Félév: 
2017/18 II.félév
Helyszín: 
Árpád tér 2. II. em. 220. sz.
Dátum: 
2018-04-10
Időpont: 
15:15-16:00
Előadó: 
Edit Pengő
Cím: 
Primitive Enthusiasm: A Road to Primitive Obsession
Absztrakt: 

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.

Everyone is welcome.