relation: https://eprints.uet.vnu.edu.vn/eprints/id/eprint/4069/ title: Generate Test Data from C/C++ Source Code using Weighted CFG and Boundary Values creator: Tran, Nguyen Huong creator: Do, Minh Kha creator: Tran, Hoang Viet creator: Pham, Ngoc Hung subject: Information Technology (IT) description: This paper presents two test data automatic generation methods which are based on weighted control flow graph (named WCFT) and boundary values of input parameters (named BVTG). Firstly, WCFT method generates a CFG from a given unit function, updates weight for it, then generates test data from the greatest weight test paths. In the meantime, WCFT can find dead code that can be used for automatic source code errors fix. Secondly, BVTG method generates test data from boundary values of input parameters of the given unit function. The combination of the two generated test data sets from these two methods will improve the error detection ability while maintaining a high code coverage. An implemented tool (named WCFT4Cpp) and experimental results are also presented to show the effectiveness of the two proposed methods in both time required to generate test data and error detection ability. date: 2020-11 type: Conference or Workshop Item type: NonPeerReviewed format: application/pdf language: en identifier: https://eprints.uet.vnu.edu.vn/eprints/id/eprint/4069/1/KSE_paper_Submit_29_9_2020.pdf identifier: Tran, Nguyen Huong and Do, Minh Kha and Tran, Hoang Viet and Pham, Ngoc Hung (2020) Generate Test Data from C/C++ Source Code using Weighted CFG and Boundary Values. In: 12th International Conference on Knowledge and Systems Engineering (KSE 2020), 12-14 November, 2020, Can Tho, Vietnam. (In Press)