Department of Computer Science and Engineering (Artificial Intelligence and Machine Learning), ACE Engineering College, Hyderabad, Telangana — 501 301, India.
World Journal of Advanced Research and Reviews, 2026, 30(01), 1132-1141
Article DOI: 10.30574/wjarr.2026.30.1.0850
Received on 24 February 2026; revised on 06 April 2026; accepted on 08 April 2026
Understanding program execution and analyzing algorithm efficiency are essential yet challenging tasks for students and developers. The system provides a multi-panel interface consisting of a code editor, a node-based graphical visualization of execution flow, and a step-by-step textual explanation of program behavior. The proposed system processes the input code only after it is fully written and syntactically correct, ensuring accurate parsing and reliable output. Once validated, the system will identify control structures such as loops, conditional statements, and recursion, and generate a node-based execution graph that illustrates the program flow dynamically. Each node represents a computational step, enabling users to trace execution in a structured and visual manner.
In addition, the system incorporates an automated complexity analyzer that determines time complexity (e.g., ) and space complexity (e.g.,
) based on detected patterns and nesting levels. The visualizer supports both general Java programs and Data Structures and Algorithms (DSA), making it suitable for educational, debugging, and analytical purposes. Unlike existing tools, the proposed system integrates node-based visualization, real-time execution tracing, and automated complexity analysis in a single platform supporting both general Java programs and DSA problems.
Java Code Visualization; Node-Based Visualization; Time Complexity; Space Complexity; Data Structures and Algorithms (DSA).
Preview Article PDF
R. Rajesh, Jetti Charitha, Gunaganti Chandana and Pulimamidi Balu Shashank chary. Universal Java code execution tracer. World Journal of Advanced Research and Reviews, 2026, 30(01), 1132-1141. Article DOI: https://doi.org/10.30574/wjarr.2026.30.1.0850.