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 条
  • [1] Collective Code Bookmarks for Program Comprehension
    Guzzi, Anja
    Hattori, Lile
    Lanza, Michele
    Pinzger, Martin
    van Deursen, Arie
    2011 IEEE 19TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC), 2011, : 101 - 110
  • [2] THE COMPREHENSION OF FAMILIAR AND LESS FAMILIAR IDIOMS
    SCHWEIGERT, WA
    JOURNAL OF PSYCHOLINGUISTIC RESEARCH, 1986, 15 (01) : 33 - 45
  • [3] Modeling source code in bimodal for program comprehension
    Wen D.
    Zhang X.
    Diao Y.
    Zhao Z.
    Jiang H.
    Lin H.
    Neural Computing and Applications, 2024, 36 (22) : 13815 - 13832
  • [4] From Code Complexity Metrics to Program Comprehension
    Feitelson, Dror G.
    COMMUNICATIONS OF THE ACM, 2023, 66 (05) : 52 - 61
  • [5] Analyzing Code Comments to Boost Program Comprehension
    Shinyama, Yusuke
    Arahori, Yoshitaka
    Gondow, Katsuhiko
    2018 25TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2018), 2018, : 325 - 334
  • [6] FAMILIAR IDIOM COMPREHENSION
    SCHWEIGERT, WA
    MOATES, DR
    JOURNAL OF PSYCHOLINGUISTIC RESEARCH, 1988, 17 (04) : 281 - 296
  • [7] Detecting Important Terms in Source Code for Program Comprehension
    Rodeghero, Paige
    McMillan, Collin
    PROCEEDINGS OF THE 52ND ANNUAL HAWAII INTERNATIONAL CONFERENCE ON SYSTEM SCIENCES, 2019, : 7493 - 7502
  • [8] Towards automated code parallelization through program comprehension
    Martino, B.Di.
    Iannello, G.
    Program Comprehension, Workshop Proceedings, 1994, : 108 - 115
  • [9] Program Comprehension and Code Complexity Metrics: An fMRI Study
    Peitek, Norman
    Apel, Sven
    Parnin, Chris
    Brechmann, Andre
    Siegmund, Janet
    2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2021), 2021, : 524 - 536
  • [10] Exploring Algorithm Comprehension: Linking Proof and Program Code
    Kather, Philipp
    Vahrenhold, Jan
    PROCEEDINGS OF 21ST KOLI CALLING CONFERENCE ON COMPUTING EDUCATION RESEARCH, KOLI CALLING 2021,, 2021,