Comprehending Source Code of Large Software System for Reuse

被引:0
|
作者
Kulkarni, Aniket [1 ]
机构
[1] Tata Consultancy Serv, TCS Res, Plot 54 B,Hadapsar Ind Estate, Pune 411013, Maharashtra, India
关键词
PROGRAM COMPREHENSION;
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Comprehending source code of large software system for code reuse is an important problem. It is due to very high cost of software maintenance. In this paper, the author shares the experience on comprehending code-base of PRISM - a model-based program analysis tool developed by Tata Consultancy Services - containing in total more than 500 KLOC. During this activity, the author not only detected two bugs in existing PRISM software system while comprehending more than half of the total code (approximately 300 KLOC), but also added feature of Application Programming Interface (API) for Intermediate Representation (IR) transformation utility for 'C' language consisting of 1 KLOC. The author applied combination of key techniques such as lexical and dynamic analyses, models such as Brook, Soloway to understand code-base and, mixed top-down and bottom-up approaches for comprehension. The author observed that speed of comprehension and reuse later increased multi-fold because half of code-base (approximately 250 KLOC) is automatically generated from specification and thus by focusing on understanding less than 25 KLOC.
引用
收藏
页数:4
相关论文
共 50 条
  • [1] Code reuse in open source software
    Haefliger, Stefan
    von Krogh, Georg
    Spaeth, Sebastian
    MANAGEMENT SCIENCE, 2008, 54 (01) : 180 - 193
  • [2] 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,
  • [3] An Unabridged Source Code Dataset for Research in Software Reuse
    Janjic, Werner
    Hummel, Oliver
    Schumacher, Marcus
    Atkinson, Colin
    2013 10TH IEEE WORKING CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR), 2013, : 339 - 342
  • [4] The Extent of Orphan Vulnerabilities from Code Reuse in Open Source Software
    Reid, David
    Jahanshahi, Mahmoud
    Mockus, Audris
    2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2022), 2022, : 2104 - 2115
  • [5] Code reuse in open source software development: Quantitative evidence, drivers, and impediments
    Sojer M.
    Henkel J.
    Journal of the Association for Information Systems, 2010, 11 (12) : 868 - 901
  • [6] Code Reuse in Open Source Software Development: Quantitative Evidence, Drivers, and Impediments
    Sojer, Manuel
    Henkel, Joachim
    JOURNAL OF THE ASSOCIATION FOR INFORMATION SYSTEMS, 2010, 11 (12): : 868 - 901
  • [7] FOLLOWERSHIP IN AN OPEN-SOURCE SOFTWARE PROJECT AND ITS SIGNIFICANCE IN CODE REUSE
    Jiang, Qiqi
    Tan, Chuan-Hoo
    Sia, Choon Ling
    Wei, Kwok-Kee
    MIS QUARTERLY, 2019, 43 (04) : 1303 - +
  • [8] Reuse of Patterns' Source Code
    Jakubik, Jaroslav
    Navrat, Pavol
    KNOWLEDGE-BASED SOFTWARE ENGINEERING, 2006, 140 : 143 - 146
  • [9] Uncovering Source Code Reuse in Large-Scale Academic Environments
    Flores, Enrique
    Barron-Cedeno, Alberto
    Moreno, Lidia
    Rosso, Paolo
    COMPUTER APPLICATIONS IN ENGINEERING EDUCATION, 2015, 23 (03) : 383 - 390
  • [10] Seamless Code Reuse with Source Code Corpus
    Yamamoto, Tetsuo
    Yoshida, Norihiro
    Higo, Yoshiki
    2013 20TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2013), VOL 2, 2013, : 31 - 36