首页> 外文会议>IEEE International Conference on Software Analysis, Evolution and Reengineering >FrameFix: Automatically Repairing Statically-Detected Directive Violations in Framework Applications
【24h】

FrameFix: Automatically Repairing Statically-Detected Directive Violations in Framework Applications

机译:FrameFix:在框架应用程序中自动修复静态检测到的指令违规行为

获取原文

摘要

Software frameworks make developing applications for a specific domain easier than doing so from scratch. Unfortunately, frameworks can also place unexpected requirements on a developer’s application, which can, in turn, lead to application bugs in the development process. We propose an automated technique for repairing violations of state-based framework requirements, FrameFix. First, developers of a framework can encode state-based framework requirements. Then, FrameFix automatically checks whether a developer’s application follows the encoded requirements. Once a violation of these requirements has been detected, FrameFix tries three different approaches — reordering method calls, moving method calls to different method definitions, and comparing the faulty method to similarly defined methods on GitHub. These repair approaches are based on the principles of how frameworks interact with framework applications: object protocols and inversion of control. To demonstrate that these principles can be used to aid automated repair for framework applications, we created a sample implementation of FrameFix for Android applications. Our evaluation shows that FrameFix is effective, repairing both real bugs in real applications, and a large number and variety of injected defects.
机译:软件框架使特定领域的开发应用程序比从头开始更容易。不幸的是,框架也可以在开发人员的应用程序上施加意外要求,从而又可以导致开发过程中的应用错误。我们提出了一种修复违反国家框架要求的自动化技术,Framefix。首先,框架的开发人员可以编码基于国家的框架要求。然后,FrameFix自动检查开发人员的应用程序是否遵循编码要求。一旦违反了这些要求,Framefix就会尝试三种不同的方法 - 重新排序方法调用,移动方法调用不同的方法定义,并将错误的方法与GitHub上的类似定义方法进行比较。这些修复方法基于框架如何与框架应用程序交互的原则:对象协议和控制的反转。为了证明这些原则可用于帮助自动修复框架应用程序,我们为Android应用程序创建了FrameFix的示例实现。我们的评估表明,FrameFix是有效的,修复真实应用中的真正错误,以及大量和各种注入的缺陷。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号