作者
Alex Gyori, Ben Lambeth, August Shi, Owolabi Legunsen, Darko Marinov
发表日期
2016/11/1
图书
Proceedings of the 2016 24th ACM SIGSOFT International Symposium on Foundations of Software Engineering
页码范围
993-997
简介
We present NonDex, a tool for detecting and debugging wrong assumptions on Java APIs. Some APIs have underdetermined specifications to allow implementations to achieve different goals, e.g., to optimize performance. When clients of such APIs assume stronger-than-specified guarantees, the resulting client code can fail. For example, HashSet’s iteration order is underdetermined, and code assuming some implementation-specific iteration order can fail. NonDex helps to proactively detect and debug such wrong assumptions. NonDex performs detection by randomly exploring different behaviors of underdetermined APIs during test execution. When a test fails during exploration, NonDex searches for the invocation instance of the API that caused the failure. NonDex is open source, well-integrated with Maven, and also runs from the command line. During our experiments with the NonDex Maven plugin, we …
引用总数
2017201820192020202120222023202422337106
学术搜索中的文章
A Gyori, B Lambeth, A Shi, O Legunsen, D Marinov - Proceedings of the 2016 24th ACM SIGSOFT …, 2016