Bequest Code Smell

Satisfactory Essays
They proposed an approach for the detection of refused bequest code smell. The approach performs static analysis of the code for the identification of suspicious hierarchies and dynamic unit test execution is done for the determination of subclasses that actually contain the smell. Various characteristics such as number of overridden methods, invocation of super class methods and results from test execution are used to sort the identified smells according to their intensity. The approach has been evaluated on an open source project named “SweetHome3D” containing 76730 LOC. They have implemented their approach as jDeodorant Eclipse plug-in extension.
Get Access