Code Analysis

Castalia's code analysis tools help you identify areas of your code which would benefit most from refactoring, and help you get a handle on the general quality of your code. Each procedure and function is analyzed using sophisticated metrics and a final "toxicity" score is derived:

Code analysis screenshot

In the Code Analysis Window, you can see key metrics for every function in your project:

Castalia also includes a quickbar tool that shows the same metrics for the current function right in the code editor.

Quick analysis screenshot
Built with Delphi Embarcadero Technology Partner