arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1801.05366cs.SE
收藏

框架应用:优势和挑战

Debugging Framework Applications: Benefits and Challenges

Zack Coker, David Gray Widder, Claire Le Goues, Christopher Bogart, Joshua Sunshine

摘要:

与调试顺序程序相比,框架的一些方面,如控制反转和框架应用程序的结构,要求开发人员调整他们的调试策略。然而,框架调试的好处和挑战还没有完全理解,获得这些知识可以为调试策略和框架工具设计提供指导。为了深入了解开发人员用于修复框架应用程序中的问题的过程,我们进行了两项人工研究,调查开发人员如何修复错误使用框架API的应用程序。这些研究集中在Android Fragment类和ROS框架上。我们使用混合方法分析了研究结果,包括扎根理论,定性内容分析和案例研究的技术。通过我们的分析,我们提出了框架调试的好处和挑战的理论。该理论指出,开发人员在调试时发现控制反转具有挑战性,但发现框架应用程序的结构很有帮助。该理论可用于指导框架应用程序的调试策略和框架工具的设计。

英文摘要:

Aspects of frameworks, such as inversion of control and the structure of framework applications, require developers to adjust their debugging strategies as compared to debugging sequential programs. However, the benefits and challenges of framework debugging are not fully understood, and gaining this knowledge could provide guidance in debugging strategies and framework tool design. To gain insight into the process developers use to fix problems in framework applications, we performed two human studies investigating how developers fix applications that use a framework API incorrectly. These studies focused on the Android Fragment class and the ROS framework. We analyzed the results of the studies using a mixed-methods approach, consisting of techniques from grounded theory, qualitative content analysis, and case studies. From our analysis, we produced a theory of the benefits and challenges of framework debugging. This theory states that developers find inversion of control challenging when debugging but find the structure of framework applications helpful. This theory could be used to guide strategies for debugging framework applications and framework tool designs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑