Research and Implementation of a Static Analysis and Extraction Technology in Program Understanding

Author
MaLingChun
Advisor
GuHui
School
Zhejiang University of Technology
Major
Applied Computer Technology
Classification
TP311.11 Programming method
Degree
Master's thesis
Year
2007
Downloads
176
Citations
4

Request the full text

Abstract

Because of the difficulties of program analysis and understanding, software systems, especially, the large complicated one which has decades of life-span and history, makes the remaining software systems contain numerous knowledge, including the system requirement analysis, design strategy, business rules, maintenance and requirement modification etc. To make a sufficient utilize on these remaining software resources, the continuous development of software system becomes extremely important.However, the missions for years of system maintenance or system evolution are extremely difficult, and the large expense as well. The software maintenance has became one of the most important problems in software engineering community. The success of the maintenance depends on the accurate, prompt and comprehensive understanding of the program. Therefore, the research on program understanding is an important step in software exploitation, management and maintenance, especially the remaining software maintenance and evolution.Program understanding aims at obtaining enough systematic information to assist and promote the understanding on software by the understandable emergence. Program understanding is a very boring and time-consuming process. To realize the analysis, understanding and expression of the program automatically, program static analysis and information extraction from system is the first key technology to solve. The efficiency of analyzing source files, the integrity and accuracy of extraction information directly affect the whole process and performance of the subsequent program understanding system. Therefor, they have a key effect and meaning to software maintenance and evolution.This paper made intensive research of static analysis skill and information extraction system on the basis of investigation and refer to the documentation at home and abroad. The main content include:1. Researching on the related theory of program understanding. Studied the related background information and current technology situation of program understanding, set forth the detailed significant on program understanding, core problems, the existing difficulties as well as the strategies of program designation at the same time.2. Doing research on static analysis, specially on the preprocessing technology, points out how to deal with the preprocessing directives in source files, discussed phases of compilation, which contains the morphology analysis with all details, and the implement of detail preprocessing directives.3. Designed the static analysis information extraction system structure in details, designed and realized the grammar and morphology analyzer, put priority on the realization of static information extraction module through the comparison and research on the present typical extraction implements and the static analysis system, grammar analysis tools. We sress on implementing static information extraction model.4. Do research on problems of static analysis extraction mechanism optimize through analyzing the defects in the traditional static analysis extraction mechanism. Otherwise, in accordance with these complicated header files and large dimensions in complicated system. This paper probed into raising efficiency of the static analysis on these documents and the prompt, accurate information extraction.

Table of contents

Abstract 5-7 ABSTRACT 7-12 first chapter 12-22 1.1 Background Overview 12-13 1.2 research status 13-19 1.2.1 abroad in the program understanding 13-17 1.2.2 domestic research program comprehension 17-19 1.3 program to understand the technical challenges facing 19-20 1.4 research content and research significance 20 1.5 paper system structure 20-21 1.6 This chapter Summary 21-22 program understanding technology 22-39 2.1 program to understand the importance and defined 22-23 2.2 program comprehension tasks 23 2.3 program to understand the core issue 23-25 2.4 program to understand the method of analysis 25-28 2.4.1 statement analysis 26 2.4.2 Information Flow Analysis 26-28 2.5 program to understand the model 28-36 2.5.1 top-down model 28-30 2.5.2 from the bottom-up model 30-32 2.5.3-based knowledge base model 32-33 2.5.4 Systematic / As-Needed model 33-34 2.5.5 latent semantic analysis model 34-35 2.5.6 integration model 35-36 2.6 program comprehension difficulties 36-38 2.7 This chapter Summary 38-39 Chapter static analysis technology research 39-53 3.1 program static analysis technology 39-45 the the 3.1.1 static analysis technology appear 39-40 3.1.2 Static analysis of theories and methods 40-44 3.1.3 Static Analysis Process 44-45 3.2 static analysis the extraction mechanism technology research 45-52 3.2.1 compiler 45-46 3.2.2 lexical 46-49 3.2.3 pretreatment process 49-50 3.2.4 Parameter handling mechanism 50-51 3.2.5 file collection mechanism 51-52 3.3 This chapter Summary 52-53 Chapter static analysis extraction system architecture design and realization 53-72 4.1 system framework design 53-55 4.2 lexical analyzer design principle 55-57 4.2.1 Principles of lexical analysis 55-56 4.2.2 lexical analysis research 56-57 4.3 parser design principle 57-59 4.4 Static analysis of program structure 59-60 4.5 of expression analysis 60-63 4.6 Static analysis of pretreatment architecture 63-65 4.7 information extraction module to achieve 65-71 4.7.1 Module Function 65-66 4.7.2 Data storage 66-68 4.7.3 Information Management update 68-69 4.7.4 Information Extraction 69-71 4.8 This chapter Summary 71-72 system optimization 72-84 5.1 conventional pretreatment analyzer defects 72-73 5.2 code repeat the analysis of the problem instance 73-78 5.3 performance bottleneck analysis 78-80 5.4 optimized to achieve 80-81 5.5 static analysis extraction system performance analysis 81-83 5.5.1 experimental environment 81-82 5.5.2 Experimental evaluation 82-83 5.5.3 optimized conclusions 83 5.6 This chapter Summary 83-84 Chapter Summary and Outlook 84-86 6.1 summary of the work 84-85 6.2 Looking 85-86 the References 86-92 Acknowledgements 92-93 during the degree to participate in research projects and achievements 93

Related dissertations

  1. Design and Development of a High-speed Heavy-load Palletizing Robot
    CaoJiaZuo ·Tianjin University ·2012 ·Master's thesis
  2. The Design and Analysis of Octahedral Module Deployable Mast
    LiCheng ·Harbin Engineering University ·2013 ·Master's thesis
  3. Research on Mechanical Properties Of the Elastic Body of a Six-Axis Force Sensor Based on Strain Gauge
    WangZhiHong ·Anhui University of Engineering ·2013 ·Master's thesis
  4. Compiler-directed Static Analysis and Code Transformation
  5. Static Security Detection of C Applications
  6. The Research of Exploiting Software Security Vulnerabilities Based on Android Platforms
    TangYuJing ·Hebei University of Engineering ·2013 ·Master's thesis
  7. The Finite Element Analysis and Optimization of the Key Components of FP2500A Type Stack-Turning Machine for Organic Fertilizer
    WangZeMin ·Nanjing Agricultural College ·2013 ·Master's thesis
  8. Design and Analysis of PF1In-cryostat-feeder Support for ITER Poloidal Field
    ZhangJunLong ·Hefei University of Technology ·2013 ·Master's thesis
  9. Research on Steel Structure Optimization and Dynamic Characteristics of HZS240Concrete Mixing Station
  10. Mechanical Performance Analysis of Semi-rigid Steel Frames Filled Profild Steel Plate Wall
    LiuYing ·Harbin Institute of Technology ·2012 ·Master's thesis
  11. Large Steel Structure Natural Draft Cooling Tower of Force Analysis
    WangJin ·East China Jiaotong University ·2013 ·Master's thesis
  12. The Wind Resistance Study of the Steel Frame Structural Main Factory Building of Large Thermal Power Plant
    WanShunLu ·Guangxi University ·2012 ·Master's thesis
  13. The Analysis of the Structure Stability of Zhongding International Mansion
    WangLi ·Shenyang University ·2012 ·Master's thesis
  14. Research on the Mechanical Behaviors of Concrete-filled Double Skin Steel Tubular Column
    PengCaiJie ·Hunan University ·2013 ·Master's thesis
  15. The Analysis and Comparison for Different Forms of T Fence in the Wiggins Gas Holder
    ZhangZuo ·Tianjin University ·2012 ·Master's thesis
  16. The Research on the Use of Composite Structure in Three-dimensional Garage
    XuZhaoFeng ·Hunan University ·2013 ·Master's thesis
  17. Static Analysis of the Ground-supported Flat-bottomed Cylindrical Steel-concrete Composite Silo
    GaoCongChao ·Hebei University of Engineering ·2013 ·Master's thesis
  18. Mechanical Behavior Analysis of Large Silos Storage for High Temperature Stored Materials
    SongJing ·Zhejiang University ·2014 ·Master's thesis
  19. Structure Performance Analysis and Optimization on a Bus Frame
    MuBiao ·Hefei University of Technology ·2013 ·Master's thesis
  20. Fatigue Life Research of a Three-axis Commercial Vehicle Frame
    LuJinHai ·Hunan University ·2013 ·Master's thesis