useddepends
Useddepends refers to the portion of a software project's declared dependencies that are actually used at runtime. It helps distinguish theoretical requirements from real-world usage, capturing which libraries, modules, or services are exercised when the program runs under typical workloads.
It is used to reduce dependency bloat, lower security risk, and simplify licensing and distribution. By identifying
Measurement typically relies on runtime analysis: instrumented builds, dynamic tracing, and sampling of executed import, require,
Challenges include optional or conditional loading, plugins, dynamic code generation, and separate build versus runtime environments.
Related concepts include dead or unused dependencies, and dependency pruning in package managers and build systems.