🧪 Code Quality City: Maintainability Index, Cyclomatic Complexity and CRAP Score
This simulation demonstrates the principles of software quality assurance through interactive code analysis and debugging. Users can identify and fix bugs to improve the overall quality of a simulated codebase in a 2D environment.
This simulator renders a 64-function codebase as a real "code city" — each building's height is a function's line count, its footprint width is cyclomatic complexity, and its color is the real Maintainability Index formula used by tools like Visual Studio and Radon. Drag the codebase-wide sliders for complexity, function length, duplication and test coverage, or apply refactoring actions like Extract Method and Remove Duplication, and watch the skyline shift from a sprawl of red at-risk towers toward a green, maintainable district in real time.
This simulation demonstrates the principles of software quality assurance through interactive code analysis and debugging. Users can identify and fix bugs to improve the overall quality of a simulated codebase in a 2D environment.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install