Jesteś w: Start > Publikacje > Multi-criteria detection of bad smells in code with UTA method

Zapomniałeś hasła?

Multi-criteria detection of bad smells in code with UTA method

Bartosz Walter and Błażej Pietrzak (2005)

In: Extreme Programming and Agile Processes in Software Engineering, vol. 3556, pp. 154–161, Springer. LNCS.

Bad smells are indicators of inappropriate code design and implementation. They suggest a need for refactoring, i.e. restructuring the program towards better readability, understandability and eligibility for changes. Smells are defined only in terms of general, subjective criteria, which makes them difficult for automatic identification. Existing approaches to smell detection base mainly on human intuition, usually supported by code metrics. Unfortunately, these models do not comprise the full spectrum of possible smell symptoms and still are uncertain. In the paper we propose a multi-criteria approach for detecting smells adopted from UTA method. It learns from programmer s preferences, and then combines the signals coming from different sensors in the code and computes their utility functions. The final result reflects the intensity of an examined smell, which allows the programmer to make a ranking of most onerous odors.

Praca finansowana przez Komited Badań Naukowych w ramach grantu 4 T11F 001 23 (lata 2002-2005)

Wspierać najlepszych, aby mogli stać się jeszcze lepsi