Defect prediction method and system based on requirement change

A technology for demand change and software defect prediction, which is applied in the field of computer security to achieve convenient decision-making, highly automated prediction process, and improved prediction accuracy

Inactive Publication Date: 2009-10-14
INST OF SOFTWARE - CHINESE ACAD OF SCI
View PDF0 Cites 43 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, most of the existing defect prediction technologies need to analyze the software design and code, and cannot perform activities in the early stages of the software life cycle, such as demand

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Defect prediction method and system based on requirement change
  • Defect prediction method and system based on requirement change
  • Defect prediction method and system based on requirement change

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The software defect prediction method and system based on requirement change of the present invention will be described in detail below with reference to the accompanying drawings.

[0028] figure 2 Shown is a schematic flow chart of the software defect prediction method of the present invention. This method can be roughly divided into four steps: associating historical defect data and requirements, feature extraction and classification of requirement items, establishing an SVM classifier, and using the SVM classifier to predict software defects.

[0029] 1. Associate historical defect data with requirements

[0030] The defects of the project history of the present invention are recorded in the database, and the requirements are in document format. Each requirement document has several requirement items, and the correlation between requirements and defects is established through the text correlation matching method in information retrieval. In general, the descriptio...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention belongs to the computer security field and specifically relates to a defect prediction method and a system based on requirement change. The invention uses software project history defect data and a requirement document to construct a correlation set of requirements and defects, a requirement classifier classifies history requirements according to the correlated history defect attributive classification, calculates the requirement characteristic value of a requirement item and establishes an SVM classifier; when new requirement change occurs, a requirement characteristic extractor extracts the requirement characteristic of the requirement, and a defect attribute predictor finds the requirement classification to which the predictor is belonged in the SVM classifier according to the information of the requirement characteristic, consequently obtains the related defect attribute of the classification and completes the defect prediction. The invention can automatically add or delete the requirement characteristic classification to be extracted and modify the weights of these characteristics in a classification model so as to lead the obtained prediction model to be more accurate and improve the prediction accuracy. The system can automatically complete prediction with directviewing prediction result.

Description

technical field [0001] The invention belongs to the field of computer security, and specifically relates to a method and system for predicting new project defects caused by these changes based on historical experience data of software projects when requirements change. Background technique [0002] Defects have an important impact on software quality and even software economy. At the same time, the complexity and difference of defect distribution problems, as well as the shortcomings of existing defect prediction techniques in solving practical problems, etc. Since the development of software defect prediction technology in the 1970s, it has been one of the most active contents in the field of software engineering, and plays an important role in analyzing software quality and balancing software cost. Software defect prediction techniques are generally divided into static and dynamic defect prediction techniques. Static prediction technology mainly refers to the technology o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/36
Inventor 王青何磊李娟杨叶
Owner INST OF SOFTWARE - CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products