Code fragment summarization
Author(s) -
Annie T. T. Ying,
Martin P. Robillard
Publication year - 2013
Publication title -
escholarship@mcgill (mcgill)
Language(s) - English
Resource type - Conference proceedings
DOI - 10.1145/2491411.2494587
Subject(s) - computer science , automatic summarization , code (set theory) , fragment (logic) , oracle , code review , programming language , source code , information retrieval , software , presentation (obstetrics) , data mining , static program analysis , software development , set (abstract data type) , medicine , radiology
Current research in software engineering has mostly focused on the retrieval accuracy aspect but little on the presentation aspect of code examples, e.g., how code examples are presented in a result page. We investigate the feasibility of summarizing code examples for better presenting a code example. Our algorithm based on machine learning could approximate summaries in an oracle manually generated by humans with a precision of 0.71. This result is promising as summaries with this level of precision achieved the same level of agreement as human annotators with each other.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom