Skip to main content
QUICK REVIEW

[论文解读] Discovering discussion topics about development of cross-platform mobile applications using a cross-compiler development framework.

Matías Martínez, Sylvain Lecomte|arXiv (Cornell University)|Dec 27, 2017
Software Engineering Research被引用 3
一句话总结

本研究通过挖掘并分析来自 Xamarin 论坛和 Stack Overflow 的 2,500 多对 QA 对,调查了使用 Xamarin(一种跨编译器框架)进行跨平台移动应用开发时开发者的挑战。通过 LDA 主题建模,研究识别出主要讨论主题——主要是用户界面(UI)、格式化、设计和导航——揭示了尽管问题数量和答案深度存在差异,但跨平台间仍存在共同关注点。

ABSTRACT

A cross-platform mobile application is an application that runs on multiple mobile platforms (Android or iOS platforms). One strategy for developing this kind of mobile applications involves to develop, using platform-related toolkits, a native application for each chosen platform. Several frameworks have been proposed to simplify the development of cross-platform mobile applications and, therefore, to reduce development and maintenance costs. Between them, the cross-compiler mobile development frameworks transform the application's code written in intermediate (aka non-native) language to native code for each platform. However, to our best knowledge, there is no much research about the advantages and disadvantages of the use of cross-compiler frameworks during the development and maintenance phases of mobile applications. This paper aims at contributing with one of the first bricks in that research direction. We study what mobile developers that use cross-compiler frameworks ask about when they develop and maintain cross-platform mobile applications. In particular, we focus on one framework: Xamarin from Microsoft. For that, we first created two datasets of questions and answers (QA) related to the development of mobile applications using Xamarin by mining two QA sites: Xamarin Forum and Stack Overflow. We analyzed and compared the number of questions, views and accepted. Then, we applied LDA on Xamarin-related questions to discover the main topics asked by developers that use Xamarin. Finally, we compared the discovered topics with those topics about mobile development. Our findings show that Xamarin Forum has a larger number of questions than Stack Overflow, however, the latter has more answers per question. Moreover, both sites share most of the main topics, which mainly discuss about user interface (UI), formatting, design and navigation.

研究动机与目标

  • 探索开发人员在使用跨编译器框架构建和维护跨平台移动应用时面临的挑战。
  • 识别并比较与 Xamarin(一种领先的跨编译器框架)相关的开发人员论坛中最常见的讨论主题。
  • 评估两个主要 QA 平台——Xamarin 论坛和 Stack Overflow——之间在问题数量、参与度和答案质量方面的差异。
  • 将发现的主题与更广泛的移动开发主题进行比较,以理解跨编译器环境中的独特关注点。

提出的方法

  • 从 Xamarin 论坛和 Stack Overflow 收集并整理了两组 QA 对数据集,重点关注与 Xamarin 相关的移动开发问题。
  • 定量比较了两个平台在问题数量、浏览量和被采纳答案数量等方面的指标。
  • 应用潜在狄利克雷分布(LDA)从与 Xamarin 相关的问题文本中提取潜在主题。
  • 将发现的主题与一般移动开发主题进行映射和比较,以评估其相关性和特异性。
  • 使用自然语言处理技术对非结构化 QA 数据进行预处理和结构化,以支持主题建模。

实验结果

研究问题

  • RQ1在使用 Xamarin 跨编译器框架的开发人员中,最常讨论的主题是什么?
  • RQ2Xamarin 论坛和 Stack Overflow 之间的问题数量和答案参与度如何比较?
  • RQ3Xamarin 专用论坛中讨论的主题与更广泛的移动开发主题之间的重叠程度如何?
  • RQ4在使用跨编译器框架的跨平台移动应用 QA 数据中,突出的主要开发挑战是什么?

主要发现

  • Xamarin 论坛的问题数量多于 Stack Overflow,表明官方论坛的活动量更高。
  • Stack Overflow 每个问题的平均回答数更高,表明社区参与度更高,且问题解决密度更大。
  • 两个平台共享了大部分核心主题,其中用户界面(UI)、格式化、设计和导航最为突出。
  • LDA 分析成功识别出连贯且相关性高的主题,证实了 UI 和交互问题在开发人员讨论中占据主导地位。
  • 研究发现,像 Xamarin 这样的跨编译器框架并未消除平台特定的关注点,尤其是在 UI 和布局方面。
  • 研究结果表明,尽管跨编译器框架减少了原生代码的重复,但开发人员仍面临显著的跨平台一致性挑战。

更好的研究,从现在开始

从论文设计到论文写作,大幅缩短您的研究时间。

无需绑定信用卡

本解读由 AI 生成,并经人工编辑审核。