arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2106.07513cs.SE
收藏

CodeLabeller:一个基于Web的Java设计模式和摘要代码注释工具

CodeLabeller: A Web-based Code Annotation Tool for Java Design Patterns and Summaries

Najam Nazar, Norman Chen, Chun Yong Chong

摘要:

在构建监督学习模型时,我们需要标记的示例来构建语料库并训练机器学习模型。然而,大多数研究都是手动构建标记数据集,这在许多情况下是一项艰巨的任务。为了缓解这个问题,我们构建了一个名为CodeLabeller的在线工具。CodeLabeller是一个基于Web的工具,旨在通过改进整个数据汇集过程,提供一种有效的方法来处理大规模监督学习方法的标记源代码文件的过程。CodeLabeller的测试方法是构建一个包含一千多个源文件的语料库,这些源文件是从大量的开源Java项目中获得的,并使用它们各自的设计模式和摘要对每个Java源文件进行标记。软件工程领域的25位专家使用标准用户体验问卷在线调查参与了工具的可用性评估。调查结果表明,该工具在特征质量和语用质量上均达到Good标准,使用方便,满足了监督分类器标注语料的需求。除了帮助研究人员众包标记的数据集,该工具在软件工程教育中具有实用性,并有助于建立软件人工制品的专家评级。

英文摘要:

While constructing supervised learning models, we require labelled examples to build a corpus and train a machine learning model. However, most studies have built the labelled dataset manually, which in many occasions is a daunting task. To mitigate this problem, we have built an online tool called CodeLabeller. CodeLabeller is a web-based tool that aims to provide an efficient approach to handling the process of labelling source code files for supervised learning methods at scale by improving the data collection process throughout. CodeLabeller is tested by constructing a corpus of over a thousand source files obtained from a large collection of open source Java projects and labelling each Java source file with their respective design patterns and summaries. Twenty five experts in the field of software engineering participated in a usability evaluation of the tool using the standard User Experience Questionnaire online survey. The survey results demonstrate that the tool achieves the Good standard on hedonic and pragmatic quality standards, is easy to use and meets the needs of the annotating the corpus for supervised classifiers. Apart from assisting researchers in crowdsourcing a labelled dataset, the tool has practical applicability in software engineering education and assists in building expert ratings for software artefacts.

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

↑