Software defect prediction method based on multi-granularity nodes
A software defect prediction and multi-granularity technology, applied in the G06F11/36 field, can solve problems such as poor performance of the defect prediction model, inaccurate prediction effect of the prediction model, etc., to achieve improved effectiveness, high practical application value, and prediction effect The effect of high accuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0051] see figure 1 , figure 2 ,in figure 1 It is a flow chart in the software defect prediction method based on multi-granularity nodes in the present invention; figure 2 It is a schematic flowchart of a software defect prediction method based on multi-granularity nodes in the present invention.
[0052] The embodiment of the present application provides a software defect prediction method based on multi-granularity nodes, which specifically includes the following steps:
[0053] Step 1: Code Analysis.
[0054] Use Python's Javalang toolkit to parse Java files to generate the corresponding abstract syntax tree. Each structural element in the Java code fragment is represented as a node of the abstract syntax tree. By traversing the abstract syntax tree, it is converted into a sequence of nodes, and the Node types are classified.
[0055] Step 2: Vector conversion.
[0056] (1) Use the code files known to be defective in the old version of the software project and the...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com