Phantom Dependency

Card Puncher Data Processing

About

A Phantom Dependency is dependency used in a project:

  • that is resolved (found)
  • but is not declared as dependency in the project itself.

Example

If your project uses a dependency A that depends on B. The code of B is available.

If your project uses B without declaring it, B is a phantom dependency.

Technically, you shouldn't be able to use B without adding it to your project dependency but dependency manager may have a dependency resolution mechanism that allows it.

For instance:





Discover More
Death Stars Architecture Diagram
Code Shipping - Dependency (Coupling)

in code. A (module|package|library) often requires other (packages|module) to be installed to function correctly. Such a relation is called a dependency. Coupling or dependency is the degree to which...



Share this page:
Follow us:
Task Runner