Construction method of software defect evaluation model on the basis of complex network

A software defect and evaluation model technology, applied in software testing/debugging, instrumentation, electrical digital data processing, etc., can solve problems that cannot reflect the interaction between classes, focus on fine-grained statistics, and software products that cannot meet the needs of users, etc. question

Inactive Publication Date: 2016-07-27
BEIJING INSTITUTE OF TECHNOLOGYGY
View PDF8 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Software defect: A problem, bug, or hidden functional defect in computer software or a program that impairs its ability to function properly
The existence of defects will cause the software product to be unable to meet the needs of users to some extent
IEEE729-1983 has a standard definition of defects: from the internal point of view of the product, a defect is a variety of problems such as errors and defects in the process of software product development or maintenance; from the external point of view of the product, a defect is a certain function that the system needs to achieve failure or breach of
The object-oriented measurement method only focuses on statistics related to the quantity (scale) of object classes. Although it pays attention to the coupling between object classes, it is also a kind of quantitative statistics and cannot reflect the interaction between classes.
These measurement methods focus too much on fine-grained statistics, but do not pay attention to the measurement of coarse-grained module components, etc., and lack global and overall complexity measurement

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
  • Construction method of software defect evaluation model on the basis of complex network
  • Construction method of software defect evaluation model on the basis of complex network
  • Construction method of software defect evaluation model on the basis of complex network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] This embodiment takes the source code, binary file or compressed file of object-oriented software as the research object, and the main process is as follows:

[0032] (1) Build a software network model

[0033] The software network model constructed by this method refers to a directed network model formed with classes of the software system as nodes and relationships between classes (such as inheritance, aggregation, association, dependence, etc.) as edges. First, use the DependencyFinder tool to scan the source code files, binary files or compressed files, and generate an XML file describing the software structure. Then parse the XML file, extract the information in class tags, outbound tags or inbound tags, and class internal member tags, that is, to obtain the class itself and the relationship data between classes in the software structure. The relationship between classes obtained through the DependencyFinder tool is not a clear relationship such as inheritance, ag...

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 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.

Description

technical field [0001] The invention belongs to the technical field of software network, and relates to a method for constructing a software defect evaluation model based on a complex network. Background technique [0002] Software Defect: A problem, bug, or hidden functional defect in computer software or a program that impairs its ability to function properly. The existence of defects will cause the software product to be unable to meet the needs of users to some extent. IEEE729-1983 has a standard definition of defects: From the internal point of view of the product, a defect is a variety of problems such as errors and defects in the process of software product development or maintenance; from the external point of view of the product, a defect is a certain function that the system needs to achieve failure or violation. [0003] Complex networks: networks with some or all of the properties of self-organization, self-similarity, attractors, small-world, and scale-free. ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3608
Inventor 胡昌振赵小林高佳童薛静锋王勇
Owner BEIJING INSTITUTE OF TECHNOLOGYGY
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