A Study on Fitness Calculation Problem in Evolutionary Testing of C Program

Author
CaoGuoDong
Advisor
WangLi
School
Xi'an University of Electronic Science and Technology
Major
Computer Software and Theory
Classification
TP311.53 Software Maintenance
Degree
Master's thesis
Year
2006
Downloads
9
Citations
0

Request the full text

Abstract

Software testing is an important means of software debugging , but the price is too expensive to manually generate test data . Evolution test is automatically generated an effective means of the quality of test data . The evolution of the test with high oriented fitness function , and the calculation of the fitness function and language . The C language has important applications in many areas . This article studies the evolution of the the test test applied to the C language program , the main problem solve appropriate value . The work is a classic fitness function , the appropriate value of the calculation depends on the control dependence and branch distance . Appropriate value calculated from the abstract syntax tree of the program , the control dependency information to rely on static analysis , code implantation method , dynamic analysis to obtain the branching distance information and calculate the branching degree of approximation . This paper describes the key technologies and major steps to solve the C language program coincided with computing problems . Finally, experimental means to prove the method to get the appropriate value highly oriented , demonstrates the correctness of the algorithm .

Table of contents

Summary 3-4 Abstract 4-7 first chapter 7-11 1.1 Introduction 1.2 Project Background 7-8 1.3 The main work and content arrangements the appropriate value 8-11 second chapter in the evolution of test calculation 11-13 2.1 evolution calculation 11 2.2 evolutionary test 11 2.3 evolutionary testing appropriate value calculated 11-13 appropriate value calculation method 13-23 3.1 branch and branch control depends 13 3.2 coincided function 13-17 3.2.1 branch degree of approximation 14-15 3.2.2 branch distance 15-17 3.3 C language appropriate value calculated 17-23 3.3.1 C language program control flow structure 17 3.3.2 C language program hierarchy 17 3.3.3 C language structure specific fitness value calculation 17-23 <br / > Chapter fitness value calculation related concepts 23-29 4.1 Antlr 4.2 appropriate value calculation concepts and methods 23-29 < br /> 4.2.1 abstract syntax tree 24-26 the 4.2.2 symbol table and scope 26-29 fifth chapter. static analysis 29 -35 5.1 program control relies 29-32 5.1.1 sequence structure 29 5.1.2 selection structure 29-32 5.1.3 loop structure 32 5.2 Description of the concept 32-35 5.2.1 the global branching No. 32-33 5.2 .2 function-level control depends 33 5.2.3 Control dependent files are found; 33-35 Chapter coincided implanted 35-51 6.1 the appropriate values ??implanted functions 35-36 6.2 coincided with the process of implantation 36-41 6.2.1 the branch divided and No. 36 6.2. the execution sequence records 36 6.2.3 symmetrical branch records 36-37 the 6.2.4 function information records 37-38 the 6.2.5 branch distance calculation implanted the 38-41 6.3 coincided implantation should pay attention to the problem of 41-48 6.3.1 select multiple nested structure problems the 41-42 6.3.2 implanted in the syntax and semantics the 42-44 6.3.3 runtime type identification 44-48 the 6.3.4 function identification 48 6.4 related data structures and methods 48-51 6.4.1 related data structures 49-50 <br / 6.4.2 related methods 50-51 the seventh Chapter experiment 51-53 Conclusion 53-54 Acknowledgements 54 -55 Reference 55-57 read during the research results 57-59 Appendix A 59-60 Appendix B nbsp ; 60-61 Appendix C 61-62

Related dissertations

  1. The Study of Tour Guide Personnel Management
    WangHai ·Anhui University ·2013 ·Master's thesis
  2. Design and Development of a High-speed Heavy-load Palletizing Robot
    CaoJiaZuo ·Tianjin University ·2012 ·Master's thesis
  3. The Design and Analysis of Octahedral Module Deployable Mast
    LiCheng ·Harbin Engineering University ·2013 ·Master's thesis
  4. 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
  5. Compiler-directed Static Analysis and Code Transformation
  6. Static Security Detection of C Applications
  7. The Research of Exploiting Software Security Vulnerabilities Based on Android Platforms
    TangYuJing ·Hebei University of Engineering ·2013 ·Master's thesis
  8. Research on network public opinion guidance and management of College Students
    LiWenJing ·Southwest Petroleum University ·2013 ·Master's thesis
  9. Mental Confusion and Guide of Freshman
    LiuZhiTao ·Hebei Normal ·2013 ·Master's thesis
  10. Research on the Work of Public Opinion Uide in Yunnan Provincial Trade Union
    LiZuo ·Yunnan University ·2013 ·Master's thesis
  11. Research on Values of New Generation Migrant Workers
    FuHuaFeng ·Jiangnan University ·2014 ·Master's thesis
  12. The Analysis of How the Socialist Core Value System Leads and Improves the Soft Power of China's Political Culture
    LiangLuDan ·Zhejiang University ·2014 ·Master's thesis
  13. The Research of Network Public Opinion
    DiZhiWei ·University of North ·2014 ·Master's thesis
  14. The Research of Chinese Popular Culture Values Since the New Century
    ChenLiMin ·Anhui University ·2014 ·Master's thesis
  15. Research on the Construction of Network Culture with the Guide of the Socialist Core Value System
    WangLin ·University of North ·2014 ·Master's thesis
  16. Study on the Images of the Other in the Dissemination of Mark
  17. Application of Functional Equivalence In EST Translation
    SuXiaoXia ·Tianjin University of Technology ·2013 ·Master's thesis
  18. 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
  19. Design and Analysis of PF1In-cryostat-feeder Support for ITER Poloidal Field
    ZhangJunLong ·Hefei University of Technology ·2013 ·Master's thesis
  20. Research on Steel Structure Optimization and Dynamic Characteristics of HZS240Concrete Mixing Station