Nothing Special   »   [go: up one dir, main page]

skip to main content
Decor: detection et correction des defauts dans les systemes orientes objet
Publisher:
  • Universite de Montreal
  • Montral, P.Q.
  • Canada
ISBN:978-0-494-53548-6
Order Number:AAINR53548
Pages:
145
Reflects downloads up to 25 Nov 2024Bibliometrics
Skip Abstract Section
Abstract

Code and design smells are implementation and design problems that come from "poor" recurring design choices. They may hinder development and maintenance of systems by making them hard for software engineers to change and evolve. A semi-automatic detection and correction are thus key factors to ease the maintenance and evolution stages.

Techniques and tools have been proposed in the literature both for the detection and correction of smells. The detection techniques proposed consist mainly in defining rules for detecting smells and applying them to the source code of a system. As for the correction techniques, they consist in applying automatically refactorings in the source code of the system analysed to restructure it and correct the smells. However, software engineers have to identify manually how the system must be restructured. Thus, it is not possible to correct directly and automatically the detected smells. This problem is due to the fact that the detection and the correction of smells are treated independently.

Thus, we propose D ECOR , a method that encompasses and defines all steps necessary for the detection and correction of code and design smells. This method allows software engineers to specify detection rules at a high level of abstraction and to obtain automatically suggestions for code restructuring.

We apply and validate our method on open-source object-oriented systems to show that our method allows a precise detection and a suitable correction of smells.

Keywords . design smells, antipatterns, code smells, specification, detection, correction, restructuring, refactorings, JAVA.

Contributors
  • University of Quebec at Montreal
Please enable JavaScript to view thecomments powered by Disqus.

Recommendations