kirancodes.me
To Proof Maintenance & Beyond!

Generating query-specific class API summaries

Mingwei Liu, Xin Peng, Andrian Marcus, Zhenchang Xing, Wenkai Xie, Shuangshuang Xing, Yang Liu

Abstract

Source code summaries are concise representations, in form of text and/or code, of complex code elements and are meant to help developers gain a quick understanding that in turns help them perform specific tasks. Generation of summaries that are task-specific is still a challenge in the automatic code summarization field. We propose an approach for generating on-demand, extrinsic hybrid summaries for API classes, relevant to a programming task, formulated as a natural language query. The summaries include the most relevant sentences extracted from the API reference documentation and the most relevant methods.

BibTeX
@inproceedings{Liu-al:FSE19,
  author    = {Mingwei Liu and
               Xin Peng and
               Andrian Marcus and
               Zhenchang Xing and
               Wenkai Xie and
               Shuangshuang Xing and
               Yang Liu},
  title     = {Generating query-specific class {API} summaries},
  booktitle = {{ESEC/SIGSOFT} {FSE}},
  pages     = {120--130},
  publisher = {{ACM}},
  year      = {2019},
}

Related papers