Multipath Hierarchy

This smell arises when a subtype inherits both directly as well as indirectly from a supertype leading to unnecessary inheritance paths in the hierarchy.

Tools

The following set of tools detects this smell: Designite(for C#) DesigniteJava(for Java)

Reference

G. Suryanarayana, G. Samarthyam, T. Sharma, “Refactoring for Software Design Smells: Managing Technical Debt”. Morgan Kaufmann, 2014.


Design Smells

Home

All rights reserved (c) Tushar Sharma 2017-23.