Modern software development rarely begins with an empty codebase. When developers need authentication, database connectivity, encryption or payment processing, they can integrate existing software libraries instead of building every capability themselves.
This approach has transformed software engineering, allowing small teams to create applications that previously required considerably larger development resources.
However, every imported library introduces a relationship with code maintained outside the organisation. That library may also require other libraries, creating an interconnected network that developers must understand, secure and maintain.
The result is a fundamental engineering trade-off: the same software dependencies that accelerate innovation can gradually increase the complexity of maintaining a product.
One Software Package Can Introduce an Entire Network of Code
Package managers such as npm for JavaScript, PyPI for Python and Maven for Java simplify the installation and management of reusable software components.
When developers install a library, its additional requirements may be installed automatically. These are known as transitive dependencies.
A seemingly straightforward application feature can therefore introduce numerous components that developers never explicitly selected.
Research published in IET Software in 2024 examined dependency relationships across Rust, Perl and Ruby package ecosystems.
The researchers found that the distribution of downstream dependency groups followed a power law, meaning that relatively few packages attracted disproportionately large groups of dependent components.
This creates structural concentration within decentralized software ecosystems.
When a widely used package experiences compatibility problems or security vulnerabilities, the consequences can extend across numerous unrelated applications.
For software architects, understanding these relationships becomes increasingly important as applications grow beyond their original technical requirements.
Applications Often Carry Code They Never Use
Installing a dependency does not necessarily mean an application uses its capabilities.
In a study published in Empirical Software Engineering, researchers examined dependency bloat in the Maven ecosystem, analyzing 9,639 Java software artefacts and 723,444 dependency relationships.
Their analysis classified 75.1% of the examined dependencies as bloated, meaning their code was not required according to the study’s detection methodology.
The researchers developed DepClean, a tool that examines compiled Java bytecode to identify unnecessary dependencies.
Transitive dependencies and complicated multi-module project structures were identified as major contributors to software bloat.
Unnecessary dependencies can increase application size, complicate upgrades and introduce additional components requiring security assessment.
However, automatically removing them also introduces risks. Static analysis may not identify every component accessed through dynamic loading, reflection or environment-specific behavior.
Dependency reduction must therefore be supported by appropriate testing rather than treating every apparently unused component as safe to remove.
Dependency Bloat Creates Real Development Costs
The consequences extend beyond application size.
In 2024, University of Waterloo researchers Nimmi Rashinika Weeraddana, Mahmoud Alfadel and Shane McIntosh investigated dependency-related waste in continuous integration.
Continuous integration automatically builds and tests software whenever developers introduce changes, helping teams detect errors before releasing applications.
The researchers examined 20,743 dependency-related commits across 1,487 software projects using npm.
They found that approximately 55.88% of the continuous integration time associated with dependency updates resulted from changes to unused dependencies.
Automated software maintenance bots generated most of this unnecessary computational activity.
For companies paying for cloud-based development infrastructure, these findings illustrate how unnecessary components can create recurring operational expenses.
The financial burden is not limited to computing costs. Engineering teams must also review proposed updates, investigate compatibility problems and resolve failures involving components that may contribute little to the product itself.
Security Vulnerabilities Travel Through Software Ecosystems
Dependencies also introduce security responsibilities that extend beyond an organization’s own source code.
In 2022, researchers Ahmed Zerouali, Tom Mens, Alexandre Decan and Coen De Roover examined security vulnerabilities in npm and RubyGems dependency networks.
They found that individual vulnerabilities affected a median of 30 package releases in npm and 59 releases in RubyGems.
Their research also identified vulnerabilities reaching external software projects through direct and indirect dependencies.
Approximately 33% of the dependency vulnerabilities affecting studied external projects had fixes available within newer versions of the same major release range.
This demonstrates that discovering a security vulnerability and distributing a correction do not automatically protect every application using the affected component.
Developers must still identify the relevant dependencies, evaluate updates and verify compatibility before deploying corrected software.
Knowing Exactly What an Application Contains Is Surprisingly Difficult
Even established dependency analysis tools have limitations.
A 2025 study led by Daniele Bifolco examined the accuracy of GitHub’s dependency graph across Java and Python projects.
The researchers reported dependency inaccuracies exceeding 27% within their sample, partly associated with simplified interpretation of software configuration files.
On December 4, 2026, the Open Source Insights team announced changes to deps.dev’s dependency information services, explaining that precomputed graphs may not accurately represent individual development environments.
The service will stop generating new resolved dependency graphs from December 14 while continuing to provide direct dependency requirements and security information.
The announcement highlights an important distinction: a package’s declared requirements do not necessarily describe the precise components installed within a particular application.
Dependency Management Must Become an Engineering Discipline
Software teams can address these challenges through more deliberate dependency selection, regular maintenance and accurate software inventories.
A Software Bill of Materials (SBOM) records components incorporated into a software product, while lockfiles help preserve specific dependency versions for reproducible installations.
Neither mechanism guarantees security, but both can improve visibility into the software being distributed.
For technology founders, the objective should not be eliminating third-party libraries. Reusable code remains one of software engineering’s greatest advantages.
Instead, developers must balance immediate development convenience against long-term maintenance responsibilities.
The most sustainable software products may not be those assembled from the greatest number of available components, but those whose engineers understand precisely what they depend on, why those dependencies exist and how they will remain dependable over time.