Research on Program Understanding Based on Characteristic Symbols
- Author
- QianJianFei
- Advisor
- YuRuiZuo , HeQinMing
- School
- Zhejiang University
- Major
- Computer Applications
- Classification
- TP311.11 Programming method
- Degree
- Doctoral dissertation
- Year
- 2006
- Downloads
- 165
- Citations
- 4
- Program Understanding/Program Comprehension
- Characteristic Symbol
- Exhaustive Searching
- Fuzzy reasoning
Abstract
Program Understanding (PU) or Program Comprehension (PC) is often viewed as the process of recognizing and extracting system design concepts from the source code. This activity takes place throughout the whole lifecycle of software systems. It’s widely accepted that software maintenance spent about 35~80% cost of software systems inside which about 30~90% cost is spent on PU including program maintenance, debugging, framework reconstructing, source code reusing, error checking and document coordinating. PU and its related technologies have been developed and researched actively.There are three main strategies in PU: Top-down, Bottom-up and their hybrid approach. Bottom-up strategy is like building a pyramid: it constructs upper-level concepts from basic components step by step until the whole concept of selected program is achieved. Almost all automatic PU methods apply Bottom-up strategy and are based on Plans which is the template of program. Although this strategy is feasible in theory, it really encounters two problems: 1) the construction and organization of Plan library; 2) the efficiency of exhaustive matching algorithms.In this paper we focus our research on CS-based PU. By applying characteristic symbols (CS) in PU domain we construct our CS-based Plan matching framework to solve the two main problems listed above by: 1) constructing hierarchy and constraint-oriented CS-Plan library; 2) applying layered matching mechanism to improve the efficiency of exhaustive searching; 3) applying comparability analysis on the results to ensure the veracity while using CS as the matching agent.Our chief innovations include: 1) A layered matching algorithm is proposed which includes stages of rough-matching and refined-matching. Rough-matching is used to reduce the response time while searching on total Plan library. Refined-matching is used to reduce the scope of possible-fit Plan set by applying more characteristic symbols; 2) A comparability analysis algorithm based on fuzzy
Table of contents
Summary 4-6
ABSTRACT 6-14
Chapter Introduction 14-24
1.1 Background 14-17 < br /> 1.2 Research the 17-20 1.3 thesis work
20-21
1.3.1 research ideas
1.3.2 Innovation point 20-21
1.4 thesis organization 21-24
program comprehension theories, strategies and tools Review 24-46
2.1 artificial program comprehension 24-29
2.1.1 manual to understand the main models and methods 24-29
2.1.2 Summary 29
the 2.2 Automatic understand 29-42
2.2.1 Plan program understanding 30-34
2.2.2 Other program comprehension strategies and tools 34-41
2.2. 3 Summary 41-42
2.3 program comprehension methods and tools are found; 42
2.4 plagiarism in similar diagnostic 42-44
2.4. 1 Halstead: Software Science, the basic unit of 43
the complexity metrics 2.4.2 McCabe rank 43-44
2.4.3 Harrison: nested levels of complexity measure 44
2.5 Chapter Summary 44-46
Chapter based on logical expressions the PLAN recognition 46-58
3.1 PR Theory Review 46-47
3.2 Overview 47-54
3.2.1 PR assumption 47-48
3.2.2 PR concept the form of a logical expression 48-51
the 3.2.3 PR assumptions logic expressions the logical expression 51-54
3.3 to eliminate mismatched PLAN 54-57
3.3.1 bottom-logical expression to eliminate non-matching Plan 55
3.3.2 top-down logical expression to eliminate the non-matching Plan 55-57
3.4 Chapter Summary 57-58
Chapter based the characteristic symbol PLAN library 58-72
4.1 program characteristics symbol the 59-62
requirements of 4.1.1 Characteristics Symbol
59 4.1.2 Characteristics Symbol classified 59-62
4.2 General PLAN said the 62-64
4.3 library based on the feature symbol PLAN establish 64-71
4.3.1 block preprocessing and 64-65
4.3 .2 per Plan library establishment 65-66
4.3.3 Hierarchical Plan the establishment of the library 66-67
4.3.4 Plan characteristics extraction 67 -68
4.3.5 with the establishment of the characteristic symbol Plan library 68-71
4.4 Chapter Summary 71-72
Chapter based program element of the program features the symbol extraction 72-82
5.1 the definition and use of the program element conversion algorithm program intermediate forms based on the program of $ 72-73
5.2 73-75
5.3 program conversion algorithm instance 75-77
5.4 based on the program element characteristics of symbols extracting 77-81
5.5 feature symbol extraction algorithm instance nbsp the; 81
5.6 Chapter Summary 81-82
Chapter hierarchical matching mechanism and similarity analysis the 82-96
6.1 hierarchical matching and similarity analysis framework 82-84
6.2 coarse and fine two-tier match algorithm 84-87
the 6.3 similarity analysis based on fuzzy reasoning 87-89
6.3.1 similar issues raised 87
6.3.2 similarity analysis algorithm 87-89
6.4 algorithm instance 89-95
6.4.1 layered- matching algorithm instance the 89-91
6.4.2 similarity analysis algorithm instance 91-95
6.5 Chapter Summary 95-96
Chapter VII Based on the features of symbolic programming to understand model prototype 96-108
7.1 feature-based symbol understanding model prototype system are found; 96-97
the 7.2 prototype various parts Features 97 - 99
7.2.1 Plan library organizations and establish 97
7.2.2 source processor 97-98
7.2.3 Characteristics Symbol Generator 98
the 7.2.4 feature matching the similarity 98
7.2.5 parser 98
7.2.6 cluster and parallel 98-99
7.3 prototype system running instance the 7.3.1 operating results. 99-108
99-106
7.3.2 Analysis of 106-108
eighth-based information retrieval code and Chinese documents related 108-118
8.1 Overview 108-109
8.2 associated methods 109-112
8.3 prototype system, the experimental results and the results of analysis 112-115
8.3.1 prototype system and experimental results 112-113
8.3.2 Experimental results 113-115
8.3.3 Analysis of 115
8.4 Chapter Summary 115-118
Chapter Conclusions and Outlook 118-122
9.1 thesis 118-119
9.2 follow-up study Looking nbsp for; 119-122
Reference 122-136
Ph.D. study during the completed papers 136-138
Acknowledgements 138
Related dissertations
- Improved Fuzzy Expert System and Its Application in the Field of Medical Diagnostic
- Research on the Recognition of Product Characteristic Symbols
- Research on Fundamental Issue of High-pressure Oil-filled Cable Detection
- The Research of Train Integrality Detection Technology Based on Multiple Sensors
- The Blast Furnace Temperature Prediction Method Based on the Furnace Heat Index and ST-PLS and Study on the Fuzzy Inference System
- Study on Characteristics of Unsafe Behaviors among Offshore Oil Industry Employees
- Experimental Study on Dynamic Characteristic of Gas Liquid Two Phase Flow Measured with V-cone Flow Meter
- Key Technology Research on Reftigerated Truck of Remote Monitoring Systems
- Information Processing of the Fire Detection Algorithm
- Study on of Fuzzy Systems and Response Capability Based on the Universal Triple I Method
- Shape Preserving Fuzzy Interpolation Reasoning Function
- Research on Differently Implicational Universal Triple I Method of (1,2,2) Type and Its Applications
- An Expert System towards Multi-attribute Fuzzy Decision-making of Controller Parameters
- Service-oriented Network Fault Diagnosis Based on Fuzzy Association Rule Mining
- The Research of Comprehensive Decision Method for Fault Diagnosis of Integrated Navigation System
- Research on Knowledge-based Semantic Modeling and Variance Handling Mechanism for Clinical Pathway Workflows
- Study on Forecasting Algorithm and Schools’ Energy System
- Study on Fast Positioning Method and Positioning System for Mobile Workers in Digital Substation
- Analyze and Study of Control Strategy of Transformer Inrush Current
- Research on Elevator Energy-saving Technology Based on Fuzzy Control