Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for automatically generating software function coupling matrix

A coupling matrix and automatic generation technology, applied in software maintenance/management, software testing/debugging, version control, etc., can solve the problems of software development and testing manpower waste, insufficient function coupling analysis, etc., to reduce the coupling between functions and improve The effect of accuracy

Pending Publication Date: 2022-01-11
CHENGDU DBAPP SECURITY
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In software development and testing scenarios, there are a lot of problems caused by insufficient functional coupling analysis, and there are often a lot of manpower to solve functional coupling problems at work, and this coupling point is basically not used in actual applications, resulting in software development and testing manpower. waste

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
  • Method for automatically generating software function coupling matrix
  • Method for automatically generating software function coupling matrix
  • Method for automatically generating software function coupling matrix

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0045] This embodiment proposes a method for automatically generating a software function coupling matrix, which is used to solve the coupling relationship and coupling probability of the real coupling during the functional operation of the software product, generate a coupling matrix and give the coupling priority of the coupling point for guidance Follow-up software product development and testing; the method first establishes the corresponding relationship between software product functions and function points and code interfaces, and records the calling relationship between the code interfaces of the software in the log when the software is running; then, by analyzing the log Obtain the call relationship between code interfaces and the corresponding occurrence probability; finally, through the mapping relationship between code interface and functions, function points and sub-function points, the coupling priority is set according to the probability of occurrence, and then th...

Embodiment 2

[0048] This embodiment is on the basis of above-mentioned embodiment 1, as figure 1 , figure 2 , image 3 Shown, in order to realize the present invention better, further, specifically comprise the following steps:

[0049] Step 1: Carry out multi-level division of functions, function points and sub-function points for software products, and establish corresponding multi-level function catalogs;

[0050] Step 2: Establish a correspondence table between the multi-level functions of the software product and the code interface, and indicate the test points of the code interface in the code interface;

[0051] Step 3: Record the interface call relationship in the log during the use of the software product;

[0052] Step 4: Obtain the call relationship between code interfaces and the corresponding probability of occurrence by analyzing the log;

[0053] Step 5: Through the mapping relationship between the code interface and functions, function points and sub-function points, s...

Embodiment 3

[0057] In this embodiment, on the basis of any one of the above-mentioned embodiments 1-2, in order to better realize the present invention, further, the specific operation of the step 3 is as follows:

[0058] Step 3.1: Define transaction types according to the functional characteristics of the software, specifically including configuration transactions, state migration transactions, and business forwarding transactions;

[0059] Step 3.2: Turn on the logging function corresponding to the code interface, and when the software product detects the start of a transaction of the corresponding type, log the transaction; the log records the code interface and calling code called during the execution of the corresponding transaction Interface parameters.

[0060] Other parts of this embodiment are the same as those of any one of Embodiments 1-2 above, so details are not repeated here.

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 automatically generating a software function coupling matrix. The method is used for solving a coupling relation and a coupling probability of real coupling in a function operation process of a software product, generating a coupling matrix and giving a coupling priority of a coupling point to guide subsequent software product development and test. The method comprises the following steps: firstly, establishing a corresponding relationship between software product functions and function points and code interfaces, and recording a calling relationship between the code interfaces of software in a log when the software runs; then, obtaining a calling relationship between the code interfaces and a corresponding occurrence probability by analyzing the log; and finally, through a mapping relationship between the code interfaces and the functions as well as a mapping relationship between function points and sub-function points, after a coupling priority is set according to the size of the occurrence probability, automatically generating a function coupling matrix, and using the function coupling matrix and the corresponding coupling priority for guiding subsequent development and testing of software products.

Description

technical field [0001] The invention belongs to the technical field of computer software development, and in particular relates to a method for automatically generating a software function coupling matrix. Background technique [0002] In software development and testing scenarios, there are a large number of problems caused by insufficient functional coupling analysis, and there are often a lot of manpower to solve functional coupling problems at work, and this coupling point is basically not used in actual applications, resulting in software development and testing manpower. waste. Contents of the invention [0003] The present invention provides a method for automatically generating a software coupling matrix aimed at the above-mentioned defects and requirements of the prior art. The present invention establishes the corresponding relationship between software functions and function points and code interfaces, and records the relationship between software interfaces whe...

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): G06F8/71G06F11/36
CPCG06F8/71G06F11/3684
Inventor 赵海波范渊吴永越郑学新刘韬
Owner CHENGDU DBAPP SECURITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products