Spotting Familiar Code Snippet Structures for Program Comprehension

被引:1
|
作者
Vinayakarao, Venkatesh [1 ]
机构
[1] Indraprastha Inst Informat Technol Delhi, New Delhi, India
关键词
Variant Repository; Structure Matching;
D O I
10.1145/2786805.2807560
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Developers deal with the persistent problem of understanding non-trivial code snippets. To understand the given implementation, its issues, and available choices, developers will bene fit from reading relevant discussions and descriptions over the web. However, there is no easy way to know the relevant natural language terms so as to reach to such descriptions from a code snippet, especially if the documentation is inadequate and if the vocabulary used in the code is not helpful for web search. We propose an approach to solve this problem using a repository of topics and associated structurally variant snippets collected from a discussion forum. In this on-going work, we take Java methods from the code samples of three Java books, match them with the repository, and associate the topics with 76.9% precision and 66.7% recall.
引用
收藏
页码:1054 / 1056
页数:3
相关论文
共 50 条
  • [41] Spotting Code Mutation for Predictive Mutation Testing
    Zhao, Yifan
    Chen, Yizhou
    Sun, Zeyu
    Liang, Qingyuan
    Wang, Guoqing
    Hao, Dan
    PROCEEDINGS OF 2024 39TH ACM/IEEE INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, ASE 2024, 2024, : 1133 - 1145
  • [42] Examples of Unsuccessful Use of Code Comprehension Strategies: A Resource for Developing Code Comprehension Pedagogy
    Lewis, Colleen M.
    PROCEEDINGS OF THE 2023 ACM CONFERENCE ON INTERNATIONAL COMPUTING EDUCATION RESEARCH V.1, ICER 2023 V1, 2023, : 15 - 28
  • [43] From system comprehension to program comprehension
    Tjortjis, C
    Gold, N
    Layzell, P
    Bennett, K
    26TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, PROCEEDINGS, 2002, : 427 - 432
  • [45] DESIGN SOURCE CODE FOR COMPREHENSION
    TAYLOR, JL
    IEEE SOFTWARE, 1990, 7 (02) : 117 - 117
  • [46] Impacts of Program Structures on Code Coverage of Generated Test Suites
    Watanabe, Ryoga
    Higo, Yoshiki
    Kusumoto, Shinji
    PRODUCT-FOCUSED SOFTWARE PROCESS IMPROVEMENT, PROFES 2023, PT I, 2024, 14483 : 355 - 362
  • [47] Neural Code Comprehension: A Learnable Representation of Code Semantics
    Ben-Nun, Tal
    Jakobovits, Alice Shoshana
    Hoefler, Torsten
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 31 (NIPS 2018), 2018, 31
  • [48] Semantic-Based Extraction Approach for Generating Source Code Summary Towards Program Comprehension
    Kadar, Rozita
    Syed-Mohamad, Sharifah Mashita
    Rashid, Nur'Aini Abdul
    2015 9TH MALAYSIAN SOFTWARE ENGINEERING CONFERENCE (MYSEC2015), 2015, : 129 - 134
  • [49] Applying code analysis and 3D design pattern grouping to facilitate program comprehension
    Rilling, Juergen
    Nguyen, Vu-Loc
    3RD IEEE INTERNATIONAL WORKSHOP ON VISUALIZING SOFTWARE FOR UNDERSTANDING AND ANALYSIS, PROCEEEDINGS, 2005, : 123 - 124
  • [50] Lectins: Getting Familiar with Translators of the Sugar Code
    Andre, Sabine
    Kaltner, Herbert
    Manning, Joachim C.
    Murphy, Paul V.
    Gabius, Hans-Joachim
    MOLECULES, 2015, 20 (02) : 1788 - 1823