arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1812.02096cs.SE
收藏

有多实用?识别API文档中概念互操作性约束的机器学习

How practical is it? Machine Learning for Identifying Conceptual Interoperability Constraints in API Documents

Hadil Abukwaik, Mohammed Abufouda, Thejashree Nair, Dieter Rombach

摘要:

与外部软件单元建立有意义的互操作需要执行概念互操作性分析,该分析从识别每个软件单元的概念互操作性约束开始,然后比较系统的约束以检测它们的概念不匹配。我们称之为概念上的互操作性约束(COIN),它可以是不同类型的,包括结构、动态和质量。缺少这样的约束可能会导致意外的不匹配、昂贵的解决方案和延迟运行的项目。然而,对于软件架构师和分析师来说,手动分析API文档中的非结构化文本以识别COIN是一项具有挑战性的任务。这不仅是一个繁琐和耗时的任务,而且它需要知识的约束类型。在这篇文章中,我们提出并评估我们的想法,利用机器学习技术在自动化的COIN识别,这是概念互操作性分析的第一步,从人类的文本在API文档。我们的实证研究从多案例研究开始,以建立地面实况数据集,在此基础上,我们贡献了我们的机器学习COIN分类模型。我们使用不同的机器学习文本分类算法的实验表明,该模型的鲁棒性。实验结果表明,该模型在自动识别文本中的COIN时,准确率可达87%。因此,我们实现了一个工具,嵌入我们的模型,以证明其在工业环境中的实用价值。然后,我们评估了从业者对该工具的接受程度,发现他们对该工具的有用性和易用性达成了显著一致。

英文摘要:

Building meaningful interoperation with external software units requires performing the conceptual interoperability analysis that starts with identifying the conceptual interoperability constraints of each software unit, then it compares the systems' constraints to detect their conceptual mismatch. We call the conceptual interoperability constraints (the COINs) that can be of different types including structure, dynamic, and quality. Missing such constraints may lead to unexpected mismatches, expensive resolution, and running-late projects. However, it is a challenging task for software architects and analysts to manually analyze the unstructured text in API documents to identify the COINs. Not only it is a tedious and time-consuming task, but also it needs knowledge about the constraint types. In this article, we present and evaluate our idea of utilizing machine learning techniques in automating the COIN identification, which is the first step of conceptual interoperability analysis, from human text in API documents. Our empirical research started with a multiple-case study to build the ground truth dataset, on which we contributed our machine learning COIN-Classification Model. We show the model's robustness through experiments using different machine learning text-classification algorithms. The experiments' results revealed that our model can achieve up to 87% accuracy in automatically identifying the COINs in text. Thus, we implemented a tool that embeds our model to demonstrate its practical value in industrial context. Then, we evaluated the practitioners' acceptance for the tool and found that they significantly agreed on its usefulness and ease of use.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑