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 条
  • [21] On the Comprehension of Program Comprehension
    Maalej, Walid
    Tiarks, Rebecca
    Roehm, Tobias
    Koschke, Rainer
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2014, 23 (04)
  • [22] A Machine Reading Comprehension-based Approach for Featured Snippet Extraction
    Zhang, Chen
    Zhang, Xuanyu
    Wang, Hao
    2018 IEEE INTERNATIONAL CONFERENCE ON DATA MINING (ICDM), 2018, : 1416 - 1421
  • [23] Virtual Reality Flythrough of Program Code Structures
    Oberhauser, Roy
    Lecon, Carsten
    PROCEEDINGS OF THE VIRTUAL REALITY INTERNATIONAL CONFERENCE - LAVAL VIRTUAL 2017 (ACM VRIC), 2017,
  • [24] Assessing the Readability of ChatGPT Code Snippet Recommendations: A Comparative Study
    Dantas, Carlos Eduardo C.
    Rocha, Adriano M.
    Maia, Marcelo A.
    ACM International Conference Proceeding Series, 2023, : 283 - 292
  • [25] LESBIAN CODE, DYKE SPOTTING IN HETEROPATRIARCHYLAND
    DOBKIN, A
    NEW YORK FOLKLORE, 1993, 19 (1-2): : 181 - 184
  • [26] Quality Evaluation of Modern Code Reviews Through Intelligent Biometric Program Comprehension
    Hijazi H.
    Duraes J.
    Couceiro R.
    Castelhano J.
    Barbosa R.
    Medeiros J.
    Castelo-Branco M.
    De Carvalho P.
    Madeira H.
    IEEE Transactions on Software Engineering, 2023, 49 (02) : 626 - 645
  • [27] Dogs' comprehension of referential emotional expressions: familiar people and familiar emotions are easier
    Merola, I.
    Prato-Previde, E.
    Lazzaroni, M.
    Marshall-Pescini, S.
    ANIMAL COGNITION, 2014, 17 (02) : 373 - 385
  • [28] Towards Better Code Snippets: Exploring How Code Snippet Recall Differs with Programming Experience
    Ichinco, Michelle
    Kelleher, Caitlin
    2017 IEEE SYMPOSIUM ON VISUAL LANGUAGES AND HUMAN-CENTRIC COMPUTING (VL/HCC), 2017, : 37 - 41
  • [29] An eye tracking study assessing source code readability rules for program comprehension
    Park, Kang-il
    Johnson, Jack
    Peterson, Cole S.
    Yedla, Nishitha
    Baysinger, Isaac
    Aponte, Jairo
    Sharif, Bonita
    EMPIRICAL SOFTWARE ENGINEERING, 2024, 29 (06)
  • [30] An Empirical Study of the Impact of Two Antipatterns, Blob and Spaghetti Code, On Program Comprehension
    Abbes, Marwen
    Khomh, Foutse
    Gueheneuc, Yann-Gael
    Antoniol, Giuliano
    2011 15TH EUROPEAN CONFERENCE ON SOFTWARE MAINTENANCE AND REENGINEERING (CSMR), 2011, : 181 - 190