paperbot · PL 论文追踪

全部论文 待读 收藏

P2 NAR-miner: discovering negative association rules from code for bug detection

NAR-miner:从代码中发现负关联规则用于缺陷检测
FSE Proceedings of the 2018 26th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering2018匹配度 3/10 · 论文属于传统程序分析与缺陷检测,利用数据挖掘发现负关联规则,不涉及用户当前核心关注的 LLM/Agent 与静态分析结合、浮点程序分析或贝叶斯程序分析。它可作为程序规则挖掘的背景工作,但与研究画像主线匹配度较低。引用 40 inbox
Pan Bian, Bin Liang, Wenchang Shi, Jianjun Huang, Yan Cai
crossref: 2026-09-12

AI 速览

一句话:提出 NAR-miner,从源代码挖掘 A⇒¬B 形式的负关联规则,以检测违反互斥或冲突关系引发的缺陷。

从源代码中挖掘编程规则并据此检测缺陷已被证明有效,但现有研究主要关注 A⇒B 形式的正向规则,即操作 A 出现时操作 B 也应出现。对于 A⇒¬B 形式的负向规则,即程序元素之间的互斥或冲突关系,现有工作尚未给予足够重视。本文提出 NAR-miner,从代码中发现否定关联规则,并用于缺陷检测。作者指出,违反此类负向规则同样会导致严重 bug,因此挖掘并利用负关联规则具有重要价值。摘要未给出具体数据集与实验结果。

问题
现有基于数据挖掘的编程规则推断主要发现 A⇒B 形式的正向规则,忽略了表示程序元素互斥或冲突的负向规则 A⇒¬B;违反这些负向规则同样可能导致严重缺陷。
方法
提出 NAR-miner,从源代码中自动挖掘负关联规则,并利用这些规则进行缺陷检测;核心是发现 A⇒¬B 所表达的抑制或冲突关系。
评估
摘要未提供具体评估细节,主要论证负关联规则对缺陷检测的必要性。
原文摘要(Abstract)

Inferring programming rules from source code based on data mining techniques has been proven to be effective to detect software bugs. Existing studies focus on discovering positive rules in the form of A ⇒ B, indicating that when operation A appears, operation B should also be here. Unfortunately, the negative rules (A ⇒ ¬ B), indicating the mutual suppression or conflict relationships among program elements, have not gotten the attention they deserve. In fact, violating such negative rules can also result in serious bugs.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot4666,
  title = {NAR-miner: discovering negative association rules from code for bug detection},
  author = {Pan Bian and Bin Liang and Wenchang Shi and Jianjun Huang and Yan Cai},
  booktitle = {FSE},
  year = {2018},
  doi = {10.1145/3236024.3236032}
}