Leaky Encapsulation

This smell arises when an abstraction "exposes" or "leaks" implementation details through its public interface.

Related smells: Visibility of Dependency Graphs Subsystem-API Bypassed

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.