A method and a system for predicting defects of object-oriented software

A software defect, object-oriented technology, applied in software testing/debugging, computer components, error detection/correction, etc., can solve problems such as low accuracy of software prediction results

Active Publication Date: 2017-07-28
CHINA ELECTRIC POWER RES INST +3
View PDF2 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The invention provides a method for predicting object-oriented software defec

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
  • A method and a system for predicting defects of object-oriented software
  • A method and a system for predicting defects of object-oriented software
  • A method and a system for predicting defects of object-oriented software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072] Exemplary embodiments of the present invention will now be described with reference to the drawings; however, the present invention may be embodied in many different forms and are not limited to the embodiments described herein, which are provided for the purpose of exhaustively and completely disclosing the present invention. invention and fully convey the scope of the invention to those skilled in the art. The terms used in the exemplary embodiments shown in the drawings do not limit the present invention. In the figures, the same units / elements are given the same reference numerals.

[0073] Unless otherwise specified, the terms (including scientific and technical terms) used herein have the commonly understood meanings to those skilled in the art. In addition, it can be understood that terms defined by commonly used dictionaries should be understood to have consistent meanings in the context of their related fields, and should not be understood as idealized or over...

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 provides a method for predicting defects of object-oriented software. The method comprises the steps of processing a training data set, acquiring valid feature attributes and building a new training data set according to the valid feature attributes; training a support vector machine (SVM) according to the new training data set and performing parameter optimization via particle swarm optimization (PSO), wherein parameters include a penalty factor and a Gaussian kernel bandwidth; using an SVM model to perform defect prediction on prediction data according to the optimized parameters and obtaining a prediction result. A training data set is processed to acquire valid feature attributes and a new training data set is built according to the valid feature attributes, so that curse of dimensionality is avoided effectively, processing cost is reduced and data processing speed is increased; PSO is employed for parameter optimization, so that optimal parameters can be selected and defect prediction accuracy is improved.

Description

technical field [0001] The present invention relates to the field of software defect prediction, and more specifically, to a method and system for predicting object-oriented software defects. Background technique [0002] In the long-term development process of information system software, it is mainly developed with object-oriented design technology. Essentially, object-oriented system design is the process of seeking solutions to software structure and software function models. As the structure and model of the software itself become more complex and the scale of objects becomes larger, the security problems faced by the software of the entire information system become more and more serious. It provides the necessary guarantee for the normal operation of production and the market, and is also an important way to reduce the cost and cycle of testing in the future and improve the quality of software. [0003] Software defect prediction technology can be divided into static...

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/36G06K9/62G06N3/00
CPCG06F11/3608G06N3/006G06F18/2411
Inventor 朱朝阳韩丽芳张信明王志宏陈相舟应欢李怡康李梦涛
Owner CHINA ELECTRIC POWER RES INST
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