Error location based on the program execution method
- Author
- TianZhiYu
- Advisor
- ZhangHong
- School
- Nanjing University of Technology and Engineering
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 58
- Citations
- 0
Abstract
Software Debugging is a software development and maintenance of the most time-consuming part of the positioning error which is the most important and the most difficult. Traditional error localization method is often used manual positioning methods (such as aid debugging tool set breakpoints), but the disadvantage is that these methods could go wrong statement huge search space, and often spend a lot of effort and time. So now in the wrong positioning of the main contents of automated fault location, the main means of such methods is by means of a well-designed set of test cases, test results and procedures through automated feature analysis to calculate the collection of statements that can go wrong. Automated feature-based program behavior fault localization methods are generally calculated based on coverage information suspicious degree program statements, and then follow the descending order of degree of suspicion suspicious statements one by one inspection procedures. In order to improve the efficiency of positioning errors, the paper-based program behavior characteristics of existing methods to improve it. First, the error location of the current methods of automated comparison, gives several error location based on the program execution method: Based on the test of the statement with the contribution degree of suspicion decreased with the increase number of test cases (abbreviated as contributions rate reduction) gives the idea of ??method Heuristic <sub> 1 </ sub>, based on the concept of program execution complement given Heuristic <sub> 2 </ sub> and Heuristic <sub> 3 </ sub>, based on reduce the contribution rate of the thoughts and ideas Tarantula gives Heuristic <sub> 4 </ sub>. Secondly, gives a visual interface with common automation architecture to achieve fault localization process, which is to facilitate the visualization of commissioning check suspicious statements. Finally, in order to verify the effectiveness of the method, the paper gives the process according to the previous implementation of an automated fault localization tool Visual <sub> d </ sub> ebug, using test data sets Siemens Suite as the research object, the proposed method and several existing methods were compared. Experimental results show that, compared with the same thinking method, Heuristic <sub> 1 </ sub> slight increase in efficiency of the method, the Heuristic <sub> 2 </ sub>, Heuristic <sub> 3 </ sub> and Heuristic <sub> 4 </ sub> method showed about 60% of the program only needs to check about 20% of the code. This shows that the proposed method in the wrong positioning of the efficiency has increased, that is, only need to check the statements less able to locate errors in the program.
Table of contents
Abstract 3-4
Abstract 4-7
Introduction 7-9
1 related work 9-21
1.1 related definitions 9-10
1.1.1 program dependence graph 9
1.1.2 Data Dependency 9-10
1.1.3 control dependencies 10
1.2 program slicing-based approach 10-13
1.2.1 data slice: Data Slicing 11
1.2.2 full slice: Full Slicing 11-12
1.2.3 Related sections: Relevant Slicing 12
1.2.4 Comparison between methods and several slices Summary 12-13 <br / > 1.3 based on program behavior characteristic way of contrast 13-16
1.3.1 program based on the program statement or basic block approach 14-16
1.3.2 predicate-based approach 16
1.4 modified approach based on program status 16-18
1.4.1 Delta Debugging 16-18
1.4.2 Predicate Switching 18
1.5 Summary 18-21
2 program covering technology research 21-29
2.1 GCOV 21-27 <br / > 2.1.1 How to use GCOV 21-22
2.1.2 Instrumentation principle 22-25
2.1.3 abnormal procedures 25-27
2.2 LCOV 27-28
2.3 Chapter Summary 28-29
3 program execution error based positioning method 29-47
3.1 related Definition 29-30
3.2 heuristic algorithm 30-36
3.2.1 heuristic method 1 31-33
3.2.2 inspiration style approach 2,3 33-35
3.2.3 heuristic method 4 35-36
3.3 Visualization 36-38
3.3 .1 source mapping 37
3.3.2 coloring 37
3.3.3 Hyperlinks 37-38
3.4 system implementation 38 -46
3.4.1 Data Acquisition 38-41
3.4.2 Feature Extractor 41-43
3.4.3 Comparator 43 -44
3.4.4 Data Integration / Processor 44-45
3.4.5 policy set 45
3.4.6 Strategy calls / Processor 45-46
3.4.7 visualization processor 46
3.5 Summary 46-47
4 Experiment and Analysis 47-57
4.1 experimental environment 47-49
4.1.1 experimental subjects 47
4.1.2 experimental tool 47-49
4.2 Experimental Methods 49-51
4.2.1 Data acquisition 49
4.2.2 Evaluation Criteria 49-50
4.2.3 experimental means 50-51
4.3 Experimental results and analysis 51-56
4.3.1 Heuristic_1 VS. Wong 51-53
4.3.2 Heuristic_ [2,3] VS. Tarantula 53-54
4.3.3 Heuristic 4 VS. Tarantula 54-55
4.3.4 Overall Comparison 55-56
4.4 Summary 56-57
5 Summary and Outlook 57-59
5.1 thesis work summarizes 57
5.2 further work 57 - 59
Thanks 59-61
References 61-63
Related dissertations
- And the realization of software testing reuse management subsystem design
- Research on Testing Approach for Aspect-Oriented Programs Based on Control Flow and Data Flow
- Research on software testing technology based on complex network theory
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- The Research and Implementation of Web Performance Testing Technology Based on Loadrunner
- Research of Software Testing Method Based on Cloud Computing
- Research on Path-oriented Test Data Generation
- Research on Process Improvement in Y Co. Based on CMM
- Method Research and System Development of Software Automatic Testing
- Research and implementation of TaaS test management services
- The Design and Implementation of Banking Software Testing Based on Bugfree
- Automatic Generation of Test Data Based on Heuristic Search Algorithm
- Research on Combinatorial Testing Technique and Its Application
- Theories and Methods of Evolutionary Generation of Test Data for Path Coverage
- Study and Practice of Independent Software Testing and Validation Based on RTCA DO-178B
- A Study to Improve CFL Based on TheDiscovery of Coincidental Correctness Test Cases
- Software Reliability Oriented Performance Test Model Research and Application
- The Study and Realization of the Android Tablet Stability Automated Test
- Research on Testing Technology of Video Codec
- High Precise Local Gravity Field Computing Platform Integrated Development and Test