返回
Measuring Code Quality to Improve Specification Mining
DOI:10.1109/TSE.2011.5.png)
摘要
En 中文
Formal specifications can help with program testing, optimization, refactoring, documentation, and, most importantly, debugging and repair. However, they are difficult to write manually, and automatic mining techniques suffer from 90-99 percent false positive rates. To address this problem, we propose to augment a temporal-property miner by incorporating code quality metrics. We measure code quality by extracting additional information from the software engineering process and using information from code that is more likely to be correct, as well as code that is less likely to be correct. When used as a preprocessing step for an existing specification miner, our technique identifies which input is most indicative of correct program behavior, which allows off-the-shelf techniques to learn the same number of specifications using only 45 percent of their original input. As a novel inference technique, our approach has few false positives in practice (63 percent when balancing precision and recall, 3 percent when focused on precision), while still finding useful specifications (e.g., those that find many bugs) on over 1.5 million lines of code.
Keyword:
Specification mining
machine learning
software engineering
code metrics
program understanding
AI总结
对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。
期刊
IF:
5.6
论文数:
3.0K
被引数:
1.3W
机构
引用论文
Nerve growth factor protects against herpes simplex virus type 1 neurotoxicity in the rat striatum
NeuroReport
IF0
Phosphoproteomics and Proteomics Reveal Metabolism as a Key Node in LPS-Induced Acute Inflammation in RAW264.7
Inflammation
IF0
U18666A, an activator of sterol regulatory element binding protein pathway, modulates presynaptic dopaminergic phenotype of SH-SY5Y neuroblastoma cells固醇调节元件结合蛋白途径激活剂U18666A调节SH-SY5Y神经母细胞瘤细胞突触前多巴胺能表型
Synapse
IF0

