US Patent Application 18247902. METHOD, NON-TRANSITORY COMPUTER-READABLE MEDIUM, AND APPARATUS FOR ANALYZING SOURCE CODE simplified abstract
METHOD, NON-TRANSITORY COMPUTER-READABLE MEDIUM, AND APPARATUS FOR ANALYZING SOURCE CODE
Organization Name
Mitsubishi Electric Corporation
Inventor(s)
Masaki Fujita of Chiyoda-ku, Tokyo (JP)
Yuki Hikawa of Chiyoda-ku, Tokyo (JP)
METHOD, NON-TRANSITORY COMPUTER-READABLE MEDIUM, AND APPARATUS FOR ANALYZING SOURCE CODE - A simplified explanation of the abstract
This abstract first appeared for US patent application 18247902 titled 'METHOD, NON-TRANSITORY COMPUTER-READABLE MEDIUM, AND APPARATUS FOR ANALYZING SOURCE CODE
Simplified Explanation
The abstract describes a method for analyzing source code to detect latent defects caused by global variables. Here is a simplified explanation of the abstract:
- The method aims to identify portions of source code that may contain hidden defects caused by global variables.
- It involves obtaining a defect pattern of a program, which is a predefined set of characteristics indicating potential defects.
- The source code of the program is obtained for analysis.
- CRUD (Create, Read, Update, Delete) information associated with global variables is extracted from the source code.
- Based on the defect pattern, a latent defect is identified from the CRUD information.
- Finally, a CRUD matrix is generated, containing information about the identified latent defect.
Bullet points explaining the patent/innovation:
- The method provides a systematic approach to detect latent defects in source code caused by global variables.
- It utilizes a defect pattern to guide the analysis and identification of potential defects.
- By extracting CRUD information associated with global variables, the method focuses on the impact of these variables on the code.
- The identification of latent defects allows developers to proactively address potential issues before they manifest as actual defects.
- The output of the method, the CRUD matrix, provides a concise summary of the latent defect information for further analysis and action.
Original Abstract Submitted
The aim is to detect a portion(s) that may include a latent defect(s) under the impact of a global variable in a source code. A method for analyzing a source code using one or a plurality of processors is provided. The method includes obtaining a defect pattern of a program, obtaining a source code of the program, extracting CRUD information associated with a global variable from the source code, identifying a latent defect from the CRUD information based on the defect pattern, and outputting a CRUD matrix containing information of the latent defect.