首页> 外文期刊>Information and software technology >Icon2Code: Recommending code implementations for Android GUI components
【24h】

Icon2Code: Recommending code implementations for Android GUI components

机译:icon2code:推荐用于Android GUI组件的代码实现

获取原文
获取原文并翻译 | 示例
           

摘要

Context: Event-driven programming plays a crucial role in implementing GUI-based software systems such as Android apps. However, such event-driven code is inherently challenging to design and implement correctly. Despite a significant amount of research to help developers efficiently implement such software, improved approaches are still needed to assist developers in better handling events and associated callback methods. Objective: This work aims at inventing an intelligent recommendation system for helping app developers efficiently and effectively implement Android GUI components. Methods: To achieve the aforementioned objective, we introduce in this work a novel approach called Icon2Code. Given an icon or UI widget provided by designers as input, Icon2Code first searches from a largescale app database to locate similar icons used in existing popular apps. It then learns from the implementation of these similar apps and leverages a collaborative filtering model to select and recommend the most relevant APIs. Results: Our approach can achieve an 81% success rate when only five recommended APIs are considered, and a 94% success rate if twenty results are considered, based on ten-fold cross-validation with a large-scale dataset containing over 45,000 icons and their code implementations. Conclusion: It is feasible to automatically recommend code implementations for Android GUI components and Icon2Code is useful and effective in helping achieve such an objective.
机译:背景信息:事件驱动的编程在实现基于GUI的软件系统中起着至关重要的作用,例如Android应用程序。但是,这种事件驱动的代码本质上是挑战正确的设计和实施。尽管有大量的研究来帮助开发人员有效实施此类软件,但仍然需要改进的方法来帮助开发人员更好地处理事件和相关的回调方法。目的:这项工作旨在发明智能推荐系统,以帮助应用程序开发商有效,有效地实施Android GUI组件。方法:为了实现上述目标,我们在这项工作中介绍了一种名为icon2code的新方法。给定由设计者提供的图标或UI小部件作为输入,icon2code从Largescale App数据库搜索,以定位现有流行应用中使用的类似图标。然后,它从实现这些类似的应用程序的实施中学习,并利用协作过滤模型来选择并推荐最相关的API。结果:我们的方法可以达到81%的成功率,当考虑五个推荐的API时,如果考虑二十个结果,则基于10倍的交叉验证,具有超过45,000个图标的大规模数据集,达到94%的成功率他们的代码实现。结论:自动推荐用于Android GUI组件的代码实现是可行的,ICON2CODE有用,有效地帮助实现这种目标。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号