DepOwl:检测依赖性错误以防止兼容性故障
DepOwl: Detecting Dependency Bugs to Prevent Compatibility Failures
摘要:
应用程序依赖于库来避免重新发明轮子。库在演化过程中可能会有不兼容的变化。因此,应用程序将遭受兼容性故障。有很多关于解决检测库中不兼容的更改或帮助应用程序与库共同进化的研究。现有的解决方案可以帮助最新的应用程序版本与最新的库版本很好地配合使用。然而,最终用户已经遭受了失败,不得不等待新版本。在本文中,我们提出了DepOwl,一个实用的工具,帮助用户防止兼容性故障。关键是从一开始就避免使用不兼容的版本。我们对StackOverflow的38个已知兼容性故障进行了评估,DepOwl可以防止其中的32个。我们还使用Ubuntu-19.10附带的软件存储库评估了DepOwl。DepOwl检测到77个未知的依赖性错误,这些错误可能导致兼容性失败。
英文摘要:
Applications depend on libraries to avoid reinventing the wheel. Libraries may have incompatible changes during evolving. As a result, applications will suffer from compatibility failures. There has been much research on addressing detecting incompatible changes in libraries, or helping applications co-evolve with the libraries. The existing solution helps the latest application version work well against the latest library version as an afterthought. However, end users have already been suffering from the failures and have to wait for new versions. In this paper, we propose DepOwl, a practical tool helping users prevent compatibility failures. The key idea is to avoid using incompatible versions from the very beginning. We evaluated DepOwl on 38 known compatibility failures from StackOverflow, and DepOwl can prevent 32 of them. We also evaluated DepOwl using the software repository shipped with Ubuntu-19.10. DepOwl detected 77 unknown dependency bugs, which may lead to compatibility failures.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。