Automatically detecting and describing high level actions within methods

145Citations
Citations of this article
134Readers
Mendeley users who have this article in their library.
Get full text

Abstract

One approach to easing program comprehension is to reduce the amount of code that a developer has to read. Describing the high level abstract algorithmic actions associated with code fragments using succinct natural language phrases potentially enables a newcomer to focus on fewer and more abstract concepts when trying to understand a given method. Unfortunately, such descriptions are typically missing because it is tedious to create them manually. We present an automatic technique for identifying code fragments that implement high level abstractions of actions and expressing them as a natural language description. Our studies of 1000 Java programs indicate that our heuristics for identifying code fragments implementing high level actions are widely applicable. Judgements of our generated descriptions by 15 experienced Java programmers strongly suggest that indeed they view the fragments that we identify as representing high level actions and our synthesized descriptions accurately express the abstraction. © 2011 ACM.

Author supplied keywords

Cite

CITATION STYLE

APA

Sridhara, G., Pollock, L., & Vijay-Shanker, K. (2011). Automatically detecting and describing high level actions within methods. In Proceedings - International Conference on Software Engineering (pp. 101–110). https://doi.org/10.1145/1985793.1985808

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free