Java null pointer analysis system based on constant value arrival analysis method
An analysis method and analysis system technology, which is applied in the field of software static analysis, can solve problems such as the inability to display the null pointer analysis process and jump to the source code location where the error is reported, and achieve the effect of enhancing legibility and good source code style
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0024] Such as figure 1 As shown, the project module displays each project structure in a tree structure through java.swing.JTree, and displays and saves packages, classes, methods and attributes by inheriting javax.swing.tree.TreeNode, java.util.ArrayList The class saves the project source code and analysis result data;
[0025] Described filter module utilizes java, io.FIle class saves and reads the filter configuration information on the hard disk, and converts the configuration information into a self-defined configuration information entity class;
[0026] The source code module displays source code file information and line numbers through the java.swing.JTextPane control;
[0027] The console module is based on the java.swing.TextArea control and can output the analysis process to the tool interface;
[0028] The null pointer analysis module realizes the analysis of source code scanning and null pointer based on the fixed value arrival analysis method;
[0029] The r...
Embodiment 2
[0031] By loading the project source code, the null pointer analysis process can be displayed in the console module, such as figure 2 shown; after the analysis process is completed, the result display module can output the analysis result information, such as Figure 4 shown; at the same time, the project module will display the source code structure of the analyzed project, such as image 3 shown; by clicking figure 2 The underlined part can open the relevant source code file and jump to the relevant source code line position, such as Figure 5 shown.
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