一种基于关联分析与N-Gram 的错误参数检测方法

Chao Li, Hui Liu*

*此作品的通讯作者

科研成果: 期刊稿件文章同行评审

3 引用 (Scopus)

摘要

To detect the method calls with incorrect arguments in software systems, an association analysis and N-Gram based static anomaly detection approach (ANiaD) is proposed. Based on the massive open source code, an association analysis model is constructed to mine the strong association rules between arguments. An N-Gram model is constructed for method calls with strong association rules between arguments. Using the trained N-Gram model, the probability of a given method call statement is calculated. Low probability method calls are reported as potential bugs. The proposed approach is evaluated based on 10 open-source Java projects. The results show that the accuracy of the proposed approach is about 43.40%, significantly greater than that of similarity-based approach (25% accuracy).

投稿的翻译标题Association Analysis and N-Gram Based Detection of Incorrect Arguments
源语言繁体中文
页(从-至)2243-2257
页数15
期刊Ruan Jian Xue Bao/Journal of Software
29
8
DOI
出版状态已出版 - 1 8月 2018

关键词

  • Anomaly detection
  • Argument
  • Association analysis
  • Bug
  • Language model

指纹

探究 '一种基于关联分析与N-Gram 的错误参数检测方法' 的科研主题。它们共同构成独一无二的指纹。

引用此