2023 · 20 citations · 35 references
ComputingComputer SystemsSecure Software DevelopmentSoftware EngineeringVulnerability AnalysisChange Impact AnalysisSoftware MaintenanceFixes That FailSemantic VersioningSoftware Change Impact AnalysisSource Code Change AnalysisTransitive DependenciesVersion Impact Analysis
Modern software applications rely heavily on the usage of libraries, which provide reusable functionality, to accelerate the development process. As libraries evolve and release new versions, the software systems that depend on those libraries (the clients) should update their dependencies to use these new versions as the new release could, for example, include critical fixes for security vulnerabilities. However, updating is not always a smooth process, as it can result in software failures in the clients if the new version includes breaking changes. Yet, there is little research on how these breaking changes impact the client projects in the wild. To identify if changes between two library versions cause breaking changes at the client end, we perform an empirical study on Java projects built using Maven. For the analysis, we used 18,415 Maven artifacts, which declared 142,355 direct dependencies, of which 71.60% were not up-to-date. We updated these dependencies and found that 11.58% of the dependency updates contain breaking changes that impact the client. We further analyzed these changes in the library which impact the client projects and examine if libraries have adhered to the semantic versioning scheme when introducing breaking changes in their releases. Our results show that changes in transitive dependencies were a major factor in introducing breaking changes during dependency updates and almost half of the detected client impacting breaking changes violate the semantic versioning scheme by introducing breaking changes in non-Major updates.
35
A few billion lines of code later
Al Bessey, Ken Block, Ben Chelf et al. · Communications of the ACM · 2010 · 624 citations
Do developers update their library dependencies?
Raula Gaikovina Kula, Daniel M. Germán, Ali Ouni et al. · Empirical Software Engineering · 2017 · 335 citations · Full text