NobleBlocks

Research indexJournal article

Universal Java code execution tracer

Rajesh, Charitha, Chandana and 1 other

World Journal of Advanced Research and Reviews13 Apr 2026Open access

NobleIDark:/48914/w1/20261105/BCAAEA70DOI10.30574/wjarr.2026.30.1.0850

Abstract

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.

Discussion

More

Suggest a correction or report