Code function taste detection method based on deep semantics
A code and function technology, applied in the field of automated software refactoring, can solve problems such as the inability to automatically extract code-related features
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0109] This example uses the method proposed by the present invention to establish a code function smell detection system based on deep semantics. The detection system uses a Python development platform and a Tensorflow resource library. The source code provided by the Junit project, a software testing tool on github, is used. The address of the Junit open source project is https: / / github.com / junit-team / junit4.
[0110] Use the code reconstruction tool PMD to extract the relevant information of all functions in the source code of the Junit project, and divide it into a training set and a test set. The specific steps of model training and model testing are as follows:
[0111] Among them, model training includes code function representation A, structured feature extraction A and code smell classification A; model testing includes code function representation B, structured feature extraction B and code smell classification B;
[0112] Code Function Representation A and Code Fun...
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