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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com