Evolutionary Testing Static Analysis Technology

Author
ZhaoQingLan
Advisor
AiLiRong
School
Northwestern Polytechnical University
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2006
Downloads
98
Citations
2

Request the full text

Abstract

Evolutionary Testing is an emerging technology for automatically generating test data with good quality, and it has been successfully applied in engeneering practice. It converts the testing data generation into an overall search problem, and use the the robust ability to search the optimum in the global space of Evolutionary Algorithm, such as Genetic Algorithm, to search the test data. However, in structural testing, the search process of evolutionary testing will be hindered in the presence of inner state problem, consequently causing the failure of test data generation.In Object-Oriented Program (OOP), the presence of inner state problem is that to reach a test goal needs to call a series of methods. On the one hand, to change the data member need to execute the corresponding function member;on the other hand, the encapsulation makes that the test to non-public procedure only could be done by excuting corresponding public method interfaces. In this paper, in order to describe the inner state program, under the requirement of the dynamic search in evolutionary testing, branch dependence analysis, a new method of program static analysis, is presented. The author discusses and partitions the branch dependence relations, defines the branch dependence graph, designs it’s construction algorithm. This paper also analyses the call chain and append the information of control calling brach information to the branch dependence graph. This analyse method is based on the branchand breaks through conventional program dependence analyse methods which are based on the sentence. The branch dependence graph has less information which is more fit on software testing espacialy evolutionary testing, and the algorithmic complexity decreases as it’s analysis granularity largens.

Table of contents

Summary 3-4 ABSTRACT 4-5 directory 5-7 first chapter 7-14 <br / > 1.1 Background 7-8 1.2 package and state issues framework 8-9 1.3 automatic test data generation tool 9-12 1.4 the contents of this article organizational structure 12-13 1.5 article evolution test 13-14 Chapter II object-oriented program 14-26 <br / > 2.1 object-oriented programming 14-15 2.2 evolutionary test development 15-18 2.2.1 evolutionary testing 15-16 2.2 .2 evolution test ideas 16-18 2.3 evolution of the test object -oriented program 18-25 2.3.1 package dependency problems caused 18-22 < br /> 2.3.2 status characteristics caused by dependence 22-25 2.4 Summary 25-26 Chapter III program dependence analysis 26-38 3.1 program dependence analysis Introduction 26-27 3.2 abstract syntax tree 27 3.3 control flow graph 27-32 3.3. a control flow graph is defined 27-28 3.3.2 control flow graph of the specific form 28-32 3.4 control relies 32-33 <br / > 3.5 data-dependent 33-34 3.6 program dependence graph 34-35 3.7 system dependence graph 35-36 3.8 branch dependency graph proposed 36-37 3.9 Summary branch relies 37-38 Chapter IV object-oriented program analysis 38-54 4.1 branch dependence formal definition of the relationship 38-41 4.1.1 branch define dependencies between 38-39 4.1.2 branch of 39-41 < br /> 4.2 branch dependency graph (BDG) 41-42 4.2.1 method branch dependency graph (MBDG) 41 4.2.2 branch class dependency graph (CBDG) 41-42 4.3 method invocation chain branching 42-46 4.3.1 method call graph 43 4.3.2 method Invocation chain 43-44 4.3.3 control calls branch 44-46 4.4 branch build dependency graph algorithm 46-49 4.4.1 static program access to information construction algorithm methods within 46 4.4.2 branch dependency graph 46-48 4.4.3 branch dependency graph algorithms class 48 - overloaded 49 4.5 class inheritance and methods inheritance and method overloading 49-51 4.5.1 how to handle class 49-50 4.5 .2 copy of the parent branch information algorithm 50-51 4.6 branch dependency graph pruning 51-53 4.6.1 branch pruning nbsp dependency graph ; 51-52 4.6.2 branch dependency graph search algorithms 52-53 4.7 Summary 53-54 Chapter experiment 54-58 5.1 experimental environment 54-55 5.2 experimental example 55-56 5.3 algorithm analysis 56-58 Chapter VI summary and Outlook 58-60 6.1 This article summarizes 58-59 6.2 job Outlook 59-60 References published 60-63 master's thesis and participation during the work 63-64 Thanks 64-65 Northwestern Polytechnical University dissertation intellectual Property Statement 65 Northwestern Polytechnical University dissertation original statement 65

Related dissertations

  1. Research on Test Data Automatic Generation
    ShiLiang ·Southeast University ·2006 ·Doctoral dissertation
  2. Research of Test Data Generation Based on Evolutionary Testing
  3. Fitness Function Design for Branch Exertion in Evolutionary Testing
  4. The Application of Evolutionary Testing to Nested Branch Structure of Assembly Language in Embedded Software