Toward Automatic Summarization of Arbitrary Java']Java Statements for Novice Programmers

被引:3
|
作者
Hassan, Mohammed [1 ]
Hill, Emily [1 ]
机构
[1] Drew Univ, Madison, NJ 07940 USA
基金
美国国家科学基金会;
关键词
D O I
10.1109/ICSME.2018.00063
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Novice programmers sometimes need to understand code written by others. Unfortunately, most software projects lack comments suitable for novices. The lack of comments have been addressed through automated techniques of generating comments based on program statements. However, these techniques lacked the context of how these statements function since they were aimed toward experienced programmers. In this paper, we present a novel technique towards automatically generating comments for Java statements suitable for novice programmers. Our technique not only goes beyond existing approaches to method summarization to meet the needs of novices, it also leverages API documentation when available. In an experimental study of 30 computer science undergraduate students, we observed explanations based on our technique to be preferred over an existing approach.
引用
收藏
页码:539 / 543
页数:5
相关论文
共 50 条
  • [1] jCAB: Making Java']Java Class Design Easier for Novice Programmers
    Liu, Qian
    [J]. 2018 IEEE FRONTIERS IN EDUCATION CONFERENCE (FIE), 2018,
  • [2] A Program Visualization Approach in Developing an Interactive Simulation of Java']Java Programs for Novice Programmers
    Agno-Balabat, Aurora Cindy G.
    Rojo, Noel N.
    [J]. MINDANAO JOURNAL OF SCIENCE AND TECHNOLOGY, 2012, 10 : 63 - 79
  • [3] Case Study on the Terms Novice Programmers Use to Describe Code Snippets in Java']Java
    Esche, Svana
    Weihe, Karsten
    [J]. IEEE TRANSACTIONS ON EDUCATION, 2023, 66 (06) : 642 - 653
  • [4] An Eye-Tracking Study of Java']Java Programmers and Application to Source Code Summarization
    Rodeghero, Paige
    Liu, Cheng
    McBurney, Paul W.
    McMillan, Collin
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2015, 41 (11) : 1038 - 1054
  • [5] RECOMMENDING JAVA']JAVA API METHODS BASED ON PROGRAMMING TASK DESCRIPTIONS BY NOVICE PROGRAMMERS
    Lim, Chun Jiann
    Su, Moon Ting
    [J]. MALAYSIAN JOURNAL OF COMPUTER SCIENCE, 2023, 36 (02) : 148 - 172
  • [6] Automatic Source Code Summarization of Context for Java']Java Methods
    McBurney, Paul W.
    McMillan, Collin
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2016, 42 (02) : 103 - 119
  • [7] Factors related to the difficulty of learning to program in Java']Java - an empirical study of non-novice programmers
    Benander, A
    Benander, B
    Sang, J
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2004, 46 (02) : 99 - 107
  • [8] Automatic Detection of Sources and Sinks in Arbitrary Java']Java Libraries
    Sas, Darius
    Bessi, Marco
    Fontana, Francesca Arcelli
    [J]. 2018 IEEE 18TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2018, : 103 - 112
  • [9] A step toward automatic distribution of Java']Java programs
    Attali, I
    Caromel, D
    Guider, R
    [J]. FORMAL METHODS FOR OPEN OBJECT-BASED DISTRIBUTED SYSTEMS IV, 2000, 49 : 141 - 161
  • [10] Perceptions of Java']Java - Experienced programmers' perspective
    Benander, AC
    Benander, BA
    Lin, M
    [J]. JOURNAL OF COMPUTER INFORMATION SYSTEMS, 2003, 43 (04) : 1 - 7