arrow
返回

Measuring Code Quality to Improve Specification Mining

delete2012-01-01
delete23
PRE
AI
C
Claire Le Goues *
W
Westley Weimer
DOI:10.1109/TSE.2011.5delete
delete原文链接
delete分享
delete收藏
摘要

摘要

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总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

err分享
err收藏
Mining understandable state machine models from embedded code
err2020-09-08
err2
PREAI
errSaid, Wasim; Quante, Jochen; Koschke, Rainer
err分享
err收藏
Understanding Code Understandability Improvements in Code Reviews了解代码可理解性代码审查中的改进
err2025-01-01
err0
errOAAI
errOliveira, Delano; Santos, Reydne; de Oliveira, Benedito; Monperrus, Martin; Castor, Fernando; Madeiral, Fernanda
err分享
err收藏
Automatic detection of Long Method and God Class code smells through neural source code embeddings
err2022-10-01
err25
errOAAI
errKovacevic, Aleksandar; Slivka, Jelena; Vidakovic, Dragan; Grujic, Katarina-Glorija; Luburic, Nikola; Prokic, Simona; Sladic, Goran
err分享
err收藏

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
3.0K
被引数:
1.3W

机构

U
University of Virginia
学者数:
1.9K
论文数: 733
被引数: 1.8W
引用论文

引用论文

Memristive switching: physical mechanisms and applications
err2014-05-08
err0
PREAI
errPatrick R. Mickel; Andrew J. Lohn; Matthew J. Marinella
err分享
err收藏
Perioperative improvement in serum albumin level in patients with left ventricular assist device
err2020-09-16
err0
errOAAI
errTeruhiko Imamura; Pamela Combs; Umar Siddiqi; Saeid Mirzai; Corinne Stonebraker; Heather Bullard; Pamela Simone; Valluvan Jeevanandam
err分享
err收藏
Phosphoproteomics and Proteomics Reveal Metabolism as a Key Node in LPS-Induced Acute Inflammation in RAW264.7
err2020-06-02
err0
PREAI
errYu Luo; Qing Jiang; Zhengwen Zhu; Haseeb Sattar; Jiasi Wu; Wenge Huang; Siyu Su; Yusheng Liang; Ping Wang; Xianli Meng
err分享
err收藏
Cell Surface Human Airway Trypsin-Like Protease Is Lost During Squamous Cell Carcinogenesis
err2016-02-04
err0
errOAAI
errMichael J. Duhaime; Khaliph O. Page; Fausto A. Varela; Andrew S. Murray; Michael E. Silverman; Gina L. Zoratti; Karin List
err分享
err收藏
Folinic acid modulation of fluorouracil: tissue kinetics of bolus administration
err1989-04-01
err0
PREAI
errColin Paul Spears; Bengt G. Gustavsson; Roland Frösing
err分享
err收藏
Graph Enhanced Representation Learning for News Recommendation
err2020-04-20
err0
errOAAI
errSuyu Ge; Chuhan Wu; Fangzhao Wu; Tao Qi; Yongfeng Huang
err分享
err收藏
MODALITIES OF SEIZURE ONSET IN TEMPORAL LOBE EPILEPSY
err1996-09-01
err0
PREAI
errF. Arruda; L. F. Quesney; R. Wennberg; A. Olivier
err分享
err收藏
学者 查看更多内容