arrow
返回

Toward accurate link between code and software documentation

delete2018-04-20
delete14
PRE
AI
Y
Yingkui Cao
Y
Yanzhen Zou *
Y
Yuxiang Luo
B
Bing Xie
赵俊峰 封面图
赵俊峰 (Junfeng Zhao)
DOI:10.1007/s11432-017-9402-3delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Recovering traceability links between source code and software documentation is an important research topic in software maintenance and software reuse. There have been a lot of research efforts in recovering traceability between documentation and code elements (class, interface, method, etc.), mostly based on program analysis. However, there are still a lot of noise links being established in existing work. In this paper, we propose a novel approach to classifying code elements, occurring in a document, into contextual code elements and salient code elements. As a result, we can filter the noise traceability links between a software document and its contextual code elements and get a higher quality link set. Our classifier is trained based on open source project Lucene's source code and 1899 StackOverflow answer documents about Lucene. We extract code elements from these documents and represent each of these code elements with a 7-dimension feature vector, then we use a decision-tree-based learning model to classify them as salient or not. In the experiments, we get a precision of 70.7% in recognizing the salient code elements of these documents and get 12% improvement compared with Rigby's work. We can filter out 56.5%similar to 69.3% noise traceability links with different thresholds in our classifier. It can improve the quality of traceability links between source code and their related software documents in application.
Keyword:
traceability link
code element
software document
contextual code element
salient code element
AI总结

AI总结

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

Towards Prioritizing Documentation Effort
err2018-09-01
err20
errOAAI
errMcBurney, Paul W.; Jiang, Siyuan; Kessentini, Marouane; Kraft, Nicholas A.; Armaly, Ameer; Mkaouer, Mohamed Wiem; McMillan, Collin
err分享
err收藏
err分享
err收藏
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收藏
A Review on Source Code Documentation
err2022-06-21
err11
PREAI
errRai, Sawan; Belwal, Ramesh Chandra; Gupta, Atul
err分享
err收藏

期刊

Science China Information Sciences 封面图
Science China Information Sciences
IF:
7.6
论文数:
4.9K
被引数:
1.2W

机构

北京大学 封面图
北京大学
学者数:
9.2K
论文数: 2.8K
被引数: 7.1W
引用论文

引用论文

err分享
err收藏
Free posterior tibial perforator flap: Anatomy and a report of 6 cases
err1996-01-01
err0
PREAI
errLeung-Kim Hung; Jie Lao; Pak-Cheong Ho
err分享
err收藏
Operative Repair of Fourth and Fifth Toe Corns
err2003-02-01
err0
PREAI
errMichael J. Coughlin; Michael P. Kennedy
err分享
err收藏
Unusual Photoisomerization Pathway in a Near-Infrared Light Absorbing Enzymerhodopsin
err2022-10-06
err0
PREAI
errMasahiro Sugiura; Kazuki Ishikawa; Kota Katayama; Yuji Sumii; Rei Abe-Yoshizumi; Satoshi P. Tsunoda; Yuji Furutani; Norio Shibata; Leonid S. Brown; Hideki Kandori
err分享
err收藏
err分享
err收藏
err分享
err收藏
err分享
err收藏
学者 查看更多内容