ReverseORC:基于OR约束的可缩放用户界面布局的逆向工程
ReverseORC: Reverse Engineering of Resizable User Interface Layouts with OR-Constraints
摘要:
用户界面(UI)的逆向工程(RE)在软件演化中起着重要的作用。然而,UI技术的多样性和UI需要调整大小使其具有挑战性。我们提出了ReverseORC,一种新的RE方法,能够发现不同的布局类型和它们的动态布局行为独立于它们的实现,并指定它们通过使用OR约束。与以前的RE方法不同,ReverseORC通过对不同大小的UI进行采样并分析它们之间的差异来推断灵活的布局约束规范。它可以创建规范,甚至复制一些具有复杂动态布局行为的非标准布局管理器。我们证明了ReverseORC可以在不同的平台上使用非常不同的布局方法,例如,对于GUI和Web都是如此。此外,它还可用于检测和修复遗留UI中的问题,使用增强的布局行为扩展UI,并支持创建灵活的UI布局。
英文摘要:
Reverse engineering (RE) of user interfaces (UIs) plays an important role in software evolution. However, the large diversity of UI technologies and the need for UIs to be resizable make this challenging. We propose ReverseORC, a novel RE approach able to discover diverse layout types and their dynamic resizing behaviours independently of their implementation, and to specify them by using OR constraints. Unlike previous RE approaches, ReverseORC infers flexible layout constraint specifications by sampling UIs at different sizes and analyzing the differences between them. It can create specifications that replicate even some non-standard layout managers with complex dynamic layout behaviours. We demonstrate that ReverseORC works across different platforms with very different layout approaches, e.g., for GUIs as well as for the Web. Furthermore, it can be used to detect and fix problems in legacy UIs, extend UIs with enhanced layout behaviours, and support the creation of flexible UI layouts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。