Insider Trading
Classes or modules that know too much about the inside details of one another. They may pass private data between them. It’s a sign they are too tightly coupled. Often this happens between a subclass and its parent classes - the subclass has access to too many details that should be private to the parent.
Sources
- This smell is included Martin Fowler's book "Refactoring", 2nd Edition
Back to All Code Smells