A FRAMEWORK FOR SOURCE CODE SEARCH USING PROGRAM PATTERNS

被引:81
|
作者
PAUL, S
PRAKASH, A
机构
[1] Software Systems Research Laboratory, Dept. of Electrical Engineering & Computer Science, University of Michigan, Ann Arbor, MI
关键词
REVERSE ENGINEERING; SOFTWARE MAINTENANCE; SOFTWARE REENGINEERING; PROGRAM UNDERSTANDING; PATTERN MATCHING; QUERY LANGUAGE;
D O I
10.1109/32.295894
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
For maintainers involved in understanding and reengineering large software. locating source code fragments that match certain patterns is a critical task. Existing solutions to the problem are few, and they either involve manual, painstaking scans of the source code using tools based on regular expressions, or the use of large, integrated software engineering environments that include simple pattern-based query processors in their tool-kits. We present a framework in which pattern languages are used to specify interesting code features. The pattern languages are derived by extending the source programming language with pattern-matching symbols. We describe SCRUPLE, a finite state machine-based source code search tool, that efficiently implements this framework. We also present experimental performance results obtained from a SCRUPLE prototype, and the user interface of a source code browser built on top of SCRUPLE.
引用
收藏
页码:463 / 475
页数:13
相关论文
共 50 条
  • [41] Source Code Prioritization Using Forward Slicing for Exposing Critical Elements in a Program
    Mitrabinda Ray
    Kanhaiya lal Kumawat
    Durga Prasad Mohapatra
    JournalofComputerScience&Technology, 2011, 26 (02) : 314 - 327
  • [42] Source Code Prioritization Using Forward Slicing for Exposing Critical Elements in a Program
    Ray, Mitrabinda
    Kumawat, Kanhaiya Lal
    Mohapatra, Durga Prasad
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2011, 26 (02) : 314 - 327
  • [43] A Knowledge Framework to Search Similar Disease Patterns using Data Mining
    Byju, N. B.
    Alexander, G.
    Devanand, P.
    Kumar, Ravindra R.
    2009 IEEE INTERNATIONAL ADVANCE COMPUTING CONFERENCE, VOLS 1-3, 2009, : 1506 - +
  • [44] Source code and task graphs in program optimization
    Löwe, W
    Zimmermann, W
    Dickert, S
    Eisenbiegler, J
    HIGH-PERFORMANCE COMPUTING AND NETWORKING, 2001, 2110 : 273 - 282
  • [45] 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
  • [46] Design Patterns Discovery in Source Code: Novel Technique Using Substring Match
    Pande, Akshara
    Pant, Vivekanand
    Gupta, Manjari
    Mishra, Alok
    TEM JOURNAL-TECHNOLOGY EDUCATION MANAGEMENT INFORMATICS, 2021, 10 (03): : 1166 - 1174
  • [47] SUPPORTING QUERIES ON SOURCE CODE - A FORMAL FRAMEWORK
    PAUL, S
    PRAKASH, A
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 1994, 4 (03) : 325 - 348
  • [48] A Framework of Code Reuse in Open Source Software
    Tung, Yuan-Hsin
    Chuang, Chih-Ju
    Shan, Hwai-Ling
    2014 16TH ASIA-PACIFIC NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM (APNOMS), 2014,
  • [49] A Neural Framework for Retrieval and Summarization of Source Code
    Chen, Qingying
    Zhou, Minghui
    PROCEEDINGS OF THE 2018 33RD IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMTED SOFTWARE ENGINEERING (ASE' 18), 2018, : 826 - 831
  • [50] A Framework to Quantify the Quality of Source Code Obfuscation
    Jin, Hongjoo
    Lee, Jiwon
    Yang, Sumin
    Kim, Kijoong
    Lee, Dong Hoon
    APPLIED SCIENCES-BASEL, 2024, 14 (12):