Author
|
Conference
|
Journal
|
Organization
|
Year
|
DOI
Look for results that meet for the following criteria:
since
equal to
before
between
and
Search in all domains
Limit my searches in the following domains
Agriculture Science
Arts & Humanities
Biology
Chemistry
Computer Science
Economics & Business
Engineering
Environmental Sciences
Geosciences
Material Science
Mathematics
Medicine
Physics
Social Science
Multidisciplinary
Keywords
(2)
Automatic Generation
Software Maintenance
Subscribe
Academic
Publications
Generating Parameter Comments and Integrating with Method Summaries
Edit
Generating Parameter Comments and Integrating with Method Summaries
BibTex
|
RIS
|
RefWorks
Download
Giriprasad Sridhara
,
Lori Pollock
,
K. Vijay-Shanker
An important part of the leading comments for a method are the comments for the formal parameters of the method. According to the Java documentation writing guidelines, developers should write a summary of the method's actions followed by comments for each parameter. In this paper, we describe a novel technique to automatically generate descriptive comments for parameters of Java methods. Such generated comments can help alleviate the lack of developer- written parameter comments. In addition, they can help a programmer in ensuring that a parameter comment is current with the code. We present heuristics to generate comments that provide a high-level overview of the role of a parameter in a method. We ensure that sufficient context is provided such that a developer can understand the role of the parameter in achieving the computational intent of the method. In the opinion of nine experienced developers, the automatically generated parameter comments for methods are accurate and provide a quick synopsis of the role of the parameter in achieving the desired functionality of the method. Keywords-documentation,
software maintenance
Conference:
International Conference on Program Comprehension - ICPC
, pp. 71-80, 2011
DOI:
10.1109/ICPC.2011.28
Cumulative
Annual
View Publication
The following links allow you to view full publications. These links are maintained by other sources not affiliated with Microsoft Academic Search.
(
ieeexplore.ieee.org
)
(
ieeexplore.ieee.org
)
References
(24)
Automatically capturing source code context of NL-queries for software maintenance and reuse
(
Citations: 18
)
Emily Hill
,
Lori L. Pollock
,
K. Vijay-shanker
Conference:
International Conference on Software Engineering - ICSE
, pp. 232-242, 2009
Towards automatically generating summary comments for Java methods
(
Citations: 4
)
Giriprasad Sridhara
,
Emily Hill
,
Divya Muppaneni
,
Lori L. Pollock
,
K. Vijay-Shanker
Conference:
Automated Software Engineering - ASE
, pp. 43-52, 2010
What users say they want in documentation
(
Citations: 6
)
David G. Novick
,
Karen Ward
Conference:
ACM Special Interest Group for Design of Communication - SIGDOC
, pp. 84-91, 2006
The Roles Beacons Play in Comprehension for Novice and Expert Programmers
(
Citations: 15
)
Martha E. Crosby
,
Jean Scholtz
,
Susan Wiedenbeck
Mining source code to automatically split identifiers for software analysis
(
Citations: 13
)
Eric Enslen
,
Emily Hill
,
Lori L. Pollock
,
K. Vijay-shanker
Conference:
Mining Software Repositories - MSR
, pp. 71-80, 2009