Grasping Primitive Enthusiasm - Approaching Primitive Obsession in Steps

Edit Pengő, Péter Gál

2018

Abstract

Primitive Obsession is a type of a code smell that has lacked the attention of the research community. Although, as a code smell it can be a useful indicator of underlying design problems in the source code, there was only one previously presented automated detection method. In this paper, the Primitive Obsession is discussed and multiple variants for Primitive Enthusiasm is defined. Primitive Enthusiasm is a metric designed to highlight possible Primitive Obsession infected code parts. Additionally other supplemental metrics are presented to grasp more aspects of Primitive Obsession as well. The current implementation of the described metrics is for Java and the evaluation was done on three open-source Java systems.

Download


Paper Citation


in Harvard Style

Pengő E. and Gál P. (2018). Grasping Primitive Enthusiasm - Approaching Primitive Obsession in Steps.In Proceedings of the 13th International Conference on Software Technologies - Volume 1: ICSOFT, ISBN 978-989-758-320-9, pages 389-396. DOI: 10.5220/0006918803890396


in Bibtex Style

@conference{icsoft18,
author={Edit Pengő and Péter Gál},
title={Grasping Primitive Enthusiasm - Approaching Primitive Obsession in Steps},
booktitle={Proceedings of the 13th International Conference on Software Technologies - Volume 1: ICSOFT,},
year={2018},
pages={389-396},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0006918803890396},
isbn={978-989-758-320-9},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 13th International Conference on Software Technologies - Volume 1: ICSOFT,
TI - Grasping Primitive Enthusiasm - Approaching Primitive Obsession in Steps
SN - 978-989-758-320-9
AU - Pengő E.
AU - Gál P.
PY - 2018
SP - 389
EP - 396
DO - 10.5220/0006918803890396