论文标题

返回:可重新分配的用户界面布局的逆向工程与OR-Constraints

ReverseORC: Reverse Engineering of Resizable User Interface Layouts with OR-Constraints

论文作者

Jiang, Yue, Stuerzlinger, Wolfgang, Lutteroth, Christof

论文摘要

用户界面(UIS)的逆向工程(RE)在软件演化中起重要作用。但是,UI技术的大量多样性以及UI的需求使得这一挑战性。我们提出了Recressorc,这是一种新颖的方法,能够独立于实施,并通过使用或约束来发现各种布局类型及其动态调整行为。与以前的RE方法不同,通过在不同尺寸的UI上进行采样并分析它们之间的差异,可以逆转弹性的布局约束规格。它可以创建规格,甚至可以复制一些具有复杂动态布局行为的非标准布局经理。我们证明,逆转录器在不同的平台上使用非常不同的布局方法,例如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.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源