Effective automated repair of internationalization presentation failures in web applications using style similarity clustering and search-based techniques

Effective automated repair of internationalization presentation failures in web applications using style similarity clustering and search-based techniques
复制标题

使用风格相似性聚类和基于搜索的技术有效自动修复 Web 应用程序中的国际化呈现故障

DOI:
10.1002/stvr.1746
复制
发表时间:
2020
期刊:
Software Testing, Verification and Reliability
影响因子:
--
通讯作者:
Mahajan S
Mahajan S
中科院分区:
--
文献类型:
--
作者:
Mahajan S

文献摘要

相似文献

公司通常使用(i18n)框架在其网站上提供翻译文本和本地化媒体内容,以便与全球受众进行有效沟通。然而,来自不同语言的不同长度的文本可能导致网页布局中的不期望的失真。这种扭曲被称为国际化呈现失败(IPF),可能会对网站的美观性或可用性产生负面影响。大多数现有的自动化技术开发用于帮助修复的IPF或者产生修复,可能会显着降低的可读性和吸引力的网页,或仅限于检测IPF,与实际的修复本身仍然是劳动密集型的手工任务。为了解决这个问题,我们提出了一种基于搜索的技术,用于自动修复Web应用程序中的IPF,同时确保清晰和有吸引力的页面。我们的方法的实证评估报告说,我们的方法能够成功地解决94%的检测到的IPF为46个真实的世界的网页。在一项用户研究中,参与者对我们修复的视觉质量的评价明显高于未修复的版本,并且认为我们的方法生成的修复比现有技术生成的修复更清晰,更具视觉吸引力。
Companies often employ (i18n) frameworks to provide translated text and localized media content on their websites in order to effectively communicate with a global audience. However, the varying lengths of text from different languages can cause undesired distortions in the layout of a web page. Such distortions, called Internationalization Presentation Failures (IPFs), can negatively affect the aesthetics or usability of the website. Most of the existing automated techniques developed for assisting repair of IPFs either produce fixes that are likely to significantly reduce the legibility and attractiveness of the pages or are limited to only detecting IPFs, with the actual repair itself remaining a labour intensive manual task. To address this problem, we propose a search‐based technique for automatically repairing IPFs in web applications, while ensuring a legible and attractive page. The empirical evaluation of our approach reported that our approach was able to successfully resolve 94% of the detected IPFs for 46 real‐world web pages. In a user study, participants rated the visual quality of our fixes significantly higher than the unfixed versions and also considered the repairs generated by our approach to be notably more legible and visually appealing than the repairs generated by existing techniques.