首页> 外文期刊>OASIcs : OpenAccess Series in Informatics >Improving the quality of APIs through the analysis of software crash reports
【24h】

Improving the quality of APIs through the analysis of software crash reports

机译:通过分析软件崩溃报告来提高API的质量

获取原文
       

摘要

Modern programs depend on APIS to implement a significant part of their functionality. Apart from the way developers use APIS to build their software, the stability of these programs relies on the APIS design and implementation. In this work, we evaluate the reliability of APIS, by examining software telemetry data, in the form of stack traces, coming from Android application crashes. We got 4.9 GB worth of crash data that thousands of applications send to a centralized crash report management service. We processed that data to extract approximately a million stack traces, stitching together parts of chained exceptions, and established heuristic rules to draw the border between applications and API calls. We examined 80% of the stack traces to map the space of the most common application failure reasons. Our findings show that the top ones can be attributed to memory exhaustion, race conditions or deadlocks, and missing or corrupt resources. At the same time, a significant number of our stack traces (over 10%) remains unclassified due to generic unchecked exceptions, which do not highlight the problems that lead to crashes. Finally, given the classes of crash causes we found, we argue that API design and implementation improvements, such as specific exceptions, non-blocking algorithms, and default resources, can eliminate common failures.
机译:现代程序依赖于APIS来实现其功能的重要部分。除了开发人员使用API​​S来构建软件的方式之外,这些程序的稳定性还取决于APIS的设计和实现。在这项工作中,我们通过检查来自Android应用程序崩溃的堆栈跟踪形式的软件遥测数据来评估APIS的可靠性。我们获得了4.9 GB的崩溃数据,成千上万的应用程序将这些崩溃数据发送到集中式崩溃报告管理服务。我们处理了这些数据以提取大约一百万个堆栈跟踪,将部分链接的异常拼接在一起,并建立了启发式规则来绘制应用程序和API调用之间的边界。我们检查了80%的堆栈跟踪以映射最常见的应用程序失败原因的空间。我们的研究结果表明,排名靠前的原因可能是内存耗尽,竞争状况或死锁以及资源丢失或损坏。同时,由于通用的未经检查的异常,我们的大量堆栈跟踪(超过10%)仍未分类,这些异常未突出导致崩溃的问题。最后,鉴于我们发现的崩溃原因类别,我们认为API设计和实现方面的改进(例如特定的异常,非阻塞算法和默认资源)可以消除常见的故障。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号