• DocumentCode
    3694258
  • Title

    Using stereotypes in the automatic generation of natural language summaries for C++ methods

  • Author

    Nahla J. Abid;Natalia Dragan;Michael L. Collard;Jonathan I. Maletic

  • Author_Institution
    Department of Computer Science, Kent State University, Ohio 44242, USA
  • fYear
    2015
  • Firstpage
    561
  • Lastpage
    565
  • Abstract
    An approach to automatically generate natural language documentation summaries for C++ methods is presented. The approach uses prior work by the authors on stereotyping methods along with the source code analysis framework srcML. First, each method is automatically assigned a stereotype(s) based on static analysis and a set of heuristics. Then, the approach uses the stereotype information, static analysis, and predefined templates to generate a natural-language summary for each method. This summary is automatically added to the code base as a comment for each method. The predefined templates are designed to produce a generic summary for specific method stereotypes. Static analysis is used to extract internal details about the method (e.g., parameters, local variables, calls, etc.). This information is used to specialize the generated summaries.
  • Keywords
    "Documentation","Java","Taxonomy","Maintenance engineering","Natural language processing"
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance and Evolution (ICSME), 2015 IEEE International Conference on
  • Type

    conf

  • DOI
    10.1109/ICSM.2015.7332514
  • Filename
    7332514