Program slicing-based function reusability measurement method
A technology of program slicing and measuring methods, which is applied in the direction of software reuse, program control device, creation/generation of source code, etc., can solve the problems of increasing the scale of reuse objects, increasing the risk of reuse, and low accuracy of associated codes, etc., to achieve Improve the average measurement time, reduce the operation complexity, and improve the effect of multiplexing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0058] The present invention will be further described below in conjunction with the accompanying drawings.
[0059] The principle process of the present invention is as figure 1 shown, including the following steps:
[0060] S1: Traverse the source program, delete invalid code lines, such as blank lines, comment lines, etc. Through preprocessing, the compactness of effective code line arrangement can be realized, and the error generated in the measurement process can be reduced;
[0061] S2: Analyze the source program and construct the program dependency graph. The dependency graph contains dependencies between statements and variables. Dependencies mainly include control dependencies, data dependencies, etc. Through direct dependencies and indirect dependencies between statements, you can obtain information related to the running results of specified statements or variables. collection of statements;
[0062] S3: Analyze the source program, use all interfaces as the init...
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