arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.10309cs.SEcs.CL
收藏

程序设计语言模型在软件缺陷检测中的性能评价

An Evalutation of Programming Language Models' performance on Software Defect Detection

THE UNIVERSITY OF YORK(约克大学)

Kailun Wang

摘要:

本文提出了一个软件缺陷数据集上的几个语言模型的评估。“语言模型“可以提供单词表示和单词序列的概率指示,作为NLP系统的核心组件。“源代码的语言模型是为软件工程领域的任务指定的。虽然有些模型直接是NLP模型,但其他模型包含由源代码唯一拥有的结构信息。软件缺陷是源代码中的缺陷,导致所有级别的意外行为和故障。这项研究提供了一个原始的尝试,以检测这些缺陷在三个不同的水平(语法,算法和一般),我们还提供了一个工具链,研究人员可以用来重现实验。我们针对不同的数据集测试了不同的模型,并对结果进行了分析。我们最初尝试部署的BERT是最先进的多任务模型,与其他所有模型相比,它的水平或得分都要高。

英文摘要:

This dissertation presents an evaluation of several language models on software defect datasets. A language Model (LM) "can provide word representation and probability indication of word sequences as the core component of an NLP system." Language models for source code are specified for tasks in the software engineering field. While some models are directly the NLP ones, others contain structural information that is uniquely owned by source code. Software defects are defects in the source code that lead to unexpected behaviours and malfunctions at all levels. This study provides an original attempt to detect these defects at three different levels (syntactical, algorithmic and general) We also provide a tool chain that researchers can use to reproduce the experiments. We have tested the different models against different datasets, and performed an analysis over the results. Our original attempt to deploy bert, the state-of-the-art model for multitasks, leveled or outscored all other models compared.

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

↑