17543898. DETECTING BUSINESS CODE AREAS IN A MAINFRAME APPLICATION simplified abstract (INTERNATIONAL BUSINESS MACHINES CORPORATION)
DETECTING BUSINESS CODE AREAS IN A MAINFRAME APPLICATION
Organization Name
INTERNATIONAL BUSINESS MACHINES CORPORATION
Inventor(s)
TOSHIAKI Yasue of Sagamihara-shi (JP)
Nobuhiro Hosokawa of Yokohama-city (JP)
HIROAKI Nakamura of Yokohama-shi (JP)
Kohichi Ono of Setagaya-ku (JP)
YUKIKO Hara of Kawasaki-shi (JP)
DETECTING BUSINESS CODE AREAS IN A MAINFRAME APPLICATION - A simplified explanation of the abstract
This abstract first appeared for US patent application 17543898 titled 'DETECTING BUSINESS CODE AREAS IN A MAINFRAME APPLICATION
Simplified Explanation
The abstract describes a computer-implemented method for detecting code regions related to specific processes in an application. Here are the key points:
- Obtaining a call-graph of an application, representing programs and calls between them.
- Detecting merge points in the call-graph where paths from different entry points merge.
- Dividing the call-graph into sub-call-graphs at the merge points to create a macro-call-graph.
- Detecting code regions related to specific processes in each program based on variable names.
- Setting an initial state to each entry point of the sub-call-graphs.
- Identifying sub-call-graphs related to each specific process using dataflow analysis.
Potential Applications
This technology has potential applications in various fields, including:
- Software development: It can help developers understand and analyze complex applications by identifying code regions related to specific processes.
- Debugging: It can assist in locating and isolating issues within an application by focusing on specific processes.
- Performance optimization: By identifying code regions related to specific processes, developers can optimize the performance of those processes.
Problems Solved
This technology addresses the following problems:
- Code complexity: It helps in dealing with complex applications by providing a way to identify and analyze code regions related to specific processes.
- Debugging difficulties: It simplifies the debugging process by narrowing down the focus to specific processes.
- Performance bottlenecks: By identifying code regions related to specific processes, developers can optimize the performance of those processes, addressing potential bottlenecks.
Benefits
The benefits of this technology include:
- Improved code understanding: It helps developers gain a better understanding of complex applications by identifying code regions related to specific processes.
- Efficient debugging: By narrowing down the focus to specific processes, debugging becomes more efficient and effective.
- Performance optimization: Identifying code regions related to specific processes allows for targeted performance optimization, improving overall application performance.
Original Abstract Submitted
A computer-implemented method for detecting code regions related to specific processes in an application is provided including obtaining a call-graph of an application, each node of the call-graph representing a program in the application and each edge of the call-graph representing a call between programs, detecting merge points in the call-graph where paths from different entry points are merged, dividing the call-graph into sub-call-graphs at the merge points to create a macro-call-graph, each node of the macro-call-graph representing each of the sub-call-graphs, detecting code regions related to specific processes in each program in the application based on variable names corresponding to the specific processes, setting an initial state to each entry point of the sub-call-graphs, and identifying sub-call-graphs related to each specific process by using dataflow analysis with the initial states and the code regions based on entry states of the sub-call-graphs.