{"title":"A program segmentation method for testing data generating based on path coverage","authors":"Lixin Wang","doi":"10.1109/ICSESS.2010.5552293","DOIUrl":null,"url":null,"abstract":"For a program with many statements and complex structures, the testing have a lot of trouble, such as program analysis difficulties and need complex test cases, etc. This paper propose a method of dividing the program under test (PUT) into a several program segments with small cyclomatic complexity. This paper analyzes the relationship between the input variables and the fragments, gives the approach of processing the split point and illustrates the benefits of the method for generating test data both theoretically and experimentally. For each fragment, the method decreases the complexity of large program while structural testing, increases the efficiency of the test data generation.","PeriodicalId":264630,"journal":{"name":"2010 IEEE International Conference on Software Engineering and Service Sciences","volume":"10 6","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-07-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2010 IEEE International Conference on Software Engineering and Service Sciences","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSESS.2010.5552293","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6
Abstract
For a program with many statements and complex structures, the testing have a lot of trouble, such as program analysis difficulties and need complex test cases, etc. This paper propose a method of dividing the program under test (PUT) into a several program segments with small cyclomatic complexity. This paper analyzes the relationship between the input variables and the fragments, gives the approach of processing the split point and illustrates the benefits of the method for generating test data both theoretically and experimentally. For each fragment, the method decreases the complexity of large program while structural testing, increases the efficiency of the test data generation.