arrow
返回

Autofolding for Source Code Summarization

delete2017-12-01
delete37
delete
OA
AI
J
Jaroslav Fowkes *
P
Pankajan Chanthirasegaran
R
Razvan Ranca
M
Miltiadis Allamanis
M
Mirella Lapata
C
Charles Sutton
DOI:10.1109/TSE.2017.2664836delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Developers spend much of their time reading and browsing source code, raising new opportunities for summarization methods. Indeed, modern code editors provide code folding, which allows one to selectively hide blocks of code. However this is impractical to use as folding decisions must be made manually or based on simple rules. We introduce the autofolding problem, which is to automatically create a code summary by folding less informative code regions. We present a novel solution by formulating the problem as a sequence of AST folding decisions, leveraging a scoped topic model for code tokens. On an annotated set of popular open source projects, we show that our summarizer outperforms simpler baselines, yielding a 28 percent error reduction. Furthermore, we find through a case study that our summarizer is strongly preferred by experienced developers. More broadly, we hope this work will aid program comprehension by turning code folding into a usable and valuable tool.
Keyword:
Source code summarization
program comprehension
topic modelling
AI总结

AI总结

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

An Extractive-and-Abstractive Framework for Source Code Summarization用于源代码摘要的提取和抽象框架
err2024-03-14
err5
errOAAI
errSun, Weisong; Fang, Chunrong; Chen, Yuchen; Zhang, Quanjun; Tao, Guanhong; You, Yudu; Han, Tingxu; Ge, Yifei; Hu, Yuling; Luo, Bin; Chen, Zhenyu
err分享
err收藏
Summarizing source code with hierarchical code representation用分层代码表示总结源代码
err2022-03-01
err14
PREAI
errZhou, Ziyi; Yu, Huiqun; Fan, Guisheng; Huang, Zijie; Yang, Xingguang
err分享
err收藏
An Eye-Tracking Study of Java Programmers and Application to Source Code Summarization
err2015-11-01
err47
PREAI
errRodeghero, Paige; Liu, Cheng; McBurney, Paul W.; McMillan, Collin
err分享
err收藏
err分享
err收藏
A review of automatic source code summarization源代码自动摘要综述
err2024-10-07
err1
PREAI
errZhang, Xuejun; Hou, Xia; Qiao, Xiuming; Song, Wenfeng
err分享
err收藏
Esale: Enhancing Code-Summary Alignment Learning for Source Code SummarizationEsale: 用于源代码摘要的增强代码摘要对齐学习
err2024-08-01
err2
PREAI
errFang, Chunrong; Sun, Weisong; Chen, Yuchen; Chen, Xiao; Wei, Zhao; Zhang, Quanjun; You, Yudu; Luo, Bin; Liu, Yang; Chen, Zhenyu
err分享
err收藏
ClassSum: a deep learning model for class-level code summarization
err2022-10-10
err0
PREAI
errMingchen Li; Huiqun Yu; Guisheng Fan; Ziyi Zhou; Jiawen Huang
err分享
err收藏

期刊

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

机构

U
University of Edinburgh
学者数:
3.1K
论文数: 1.2K
被引数: 3.7W
引用论文

引用论文

Homeobox Gene Involvement in Normal Hematopoiesis and in the Pathogenesis of Childhood Leukemias
err2017-01-01
err0
PREAI
errMaria Adamaki; Maria Goulielmaki; Ioannis Christodoulou; Spiros Vlahopoulos; Vassilis Zoumpourlis
err分享
err收藏
err2000-01-01
err0
PREAI
errKeng-hong Tan
err分享
err收藏
Disruption of a primary health care domestic violence and abuse service in two London boroughs: interrupted time series evaluation
err2020-06-22
err0
errOAAI
errJasmina Panovska-Griffiths; Alex Hardip Sohal; Peter Martin; Estela Barbosa Capelas; Medina Johnson; Annie Howell; Natalia V Lewis; Gene Feder; Chris Griffiths; Sandra Eldridge
err分享
err收藏
err分享
err收藏
学者 查看更多内容