Source code change influence analyzing and testing method for software units and components with combination of phase
A technology that affects analysis and testing methods, applied in the field of program development and testing, it can solve problems such as large randomness and blindness, non-object-oriented code change impact analysis, testing process and method description, etc., to achieve strong systematization and improve testing Efficiency, the effect of maximizing code test coverage
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific example
[0070]
[0071] The first step S11 of unit-level code change impact analysis and testing is to construct a flow graph G of program units. Such as figure 2 As shown, the flow graph G can be constructed by marking and analyzing the program unit istriangle.
[0072] The second step S12 is to create a linearly independent test path set P. From the flow graph G, it can be known that it has 28 edges and 22 nodes in total, so according to the calculation formula of cyclomatic complexity v(G)=e-n+2=28-22+2=8, the cyclomatic complexity of G can be obtained The degree is 8. For program unit istriangle, P = {p i |(1≤i≤8)}, you can create 8 linearly independent test paths. Linear independent test path p 1 ~p 8 Such as image 3 shown. The solid lines and circles in the figure represent the test paths.
[0073] The third step S13 is to determine the change point c. Compare the numbered source code, analyze the modified part, and find the node of the modified code in the flow gr...
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