Method for measuring importance of software class based on weighted q2 index
A measurement method and technology of importance, applied in software maintenance/management, program loading/starting, program control devices, etc., can solve the work of lack of software measurement, lack of measurement of the importance of software elements, and lack of measurement of the importance of code elements and other problems to achieve the effect of improving the efficiency of code maintenance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0044] Below by embodiment and in conjunction with accompanying drawing, technical scheme of the present invention will be further described:
[0045] A kind of weighted q2 index-based software class importance measurement method that the present invention proposes, concrete steps are as follows:
[0046] (1) Abstract the software source code written in the Java language into a feature dependency network FDN=(N f ,D f ). figure 1 Shown is a Java source code snippet. according to figure 1 Given the Java source code snippet, the corresponding FDN can be constructed (such as figure 2 As shown), the text on the side of the node is the name of the corresponding feature of the node (the name is composed of package name, class name, and feature name connected by "."). Among them, N f ={p1.classX.a(),p1.classX.v,p1.classX.c(),p1.classX.b(),p2.classY.d(),p2.classZ.e(),p2. classZ.f()} is a collection of feature nodes; D f ={(p1.classX.b(),p1.classX.a()),(p1.classX.a(),p1.classX.b...
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