Construction method of software defect evaluation model on the basis of complex network
暂无分享,去创建一个
The invention provides a construction method of a software defect evaluation model on the basis of a complex network, and can predict potential defects in a software system. The construction method comprises the following steps: 1) taking classes in software as nodes and a relationship between the nodes as edges to construct the directed network model of the software; 2) according to the directed network model obtained in 1), carrying out the characteristic measurement calculation of the complex network; 3) scanning a software source code to carry out structured program measurement, and obtaining the measurement values of cyclomatic complexity and function depth; 4) scanning the software source code to carry out object-oriented software measurement; 5) utilizing a FindBugs static analysis tool and a software defect report on an open-source tool official website to search and analyze software defect information; and 6) constructing a defect evaluation formula: using the calculation data of a corresponding effective measurement index for different classes of software, establishing a corresponding multiple linear regression model, and obtaining the software defect evaluation model.