A Method for Measuring the Importance of Software Classes 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 code elements, lack of measurement of the importance of software 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] The technical scheme of the present invention will be further described below by embodiments and in conjunction with the accompanying drawings:
[0045] A software class importance measurement method based on the weighted q2 index proposed by the present invention, the specific steps are as follows:
[0046] (1) The feature granularity of the software source code written in Java is abstracted into a feature dependency network FDN=(N f ,D f ). figure 1 Shown is a Java source code snippet. according to figure 1 Given a snippet of Java source code, the corresponding FDN can be built (e.g. figure 2 The text on the edge of the node is the name of the corresponding feature of the node (the name consists of the package name, the class name, and the feature name is 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()...
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