ARTIFICIAL INTELLIGENCE AT YOUR SERVICE
20 years of software development generated a lot of code, and mapping it is a lot of work. The code resides within millions of lines of code, hundreds of files, spread around & shared in many projects within many folders.
Understanding what makes your application work is the key to success.
If you lead a well-documented code, and know exactly what is going on in your code, then it may be easy for you to make this analysis.
Truth must be told, but legacy Delphi code, suffers from lack of documentation. In most cases it is also been developed with no version control.
This is due to the fact that 20 years ago, developers weren’t aware to documentation procedures, nor version control. Mostly, they were not aware of the fact, that their code will be relevant for the next 20 years.
Using the Delphi Parser – Code Analysis, you can quickly & easily analyze your Delphi code & get a deep Insight into millions of lines of code, that was written in the past 20 years, and get to places where no human developer has reach ever since.
The Delphi Parser – Code Analysis is a Very Powerful Tool.
It can scan a complete Delphi project code, and links it with all its class libraries, like a compiler does, but instead of producing a runtime code, it produces a cross-reference objects analysis report.
The Analyzer can scan all types of source code:
Delphi system units & libraries source code, through all versions, from Borland Delphi 1 to Latest Embarcadero’s Delphi 10.4.
3rd party component libraries source code.
Your own proprietary code base units & classes.
Delphi Form Modules or DFM Files
Analyzing Delphi Compiled Units
The Delphi Analyzer works best with reading a text-based pascal source code. In cases you have an unsupported legacy Delphi compiled library, in a form of DCU file, without any source code, the Delphi Analyzer can even read that, and expose its hidden classes & methods.
Yes! You got it right!
The Delphi Analyzer can read a Delphi Compiled Unit – a non-text based DCU file.
The Delphi Analyzer knows how to de-compile a DCU file, reconstruct its object’s declaration, and expose its classes & methods, and use it to perform an in-depth analysis for libraries & components, with no source code available.
This is very helpful feature, that provides you an X-Ray-vision into compiled code. Using this feature, all the darkest secrets of a legacy Delphi code can be exposed, as it clears the way to modernization.
Here are the main features of the Delphi Code Analyzer:
SCANS A COMPLETE CODE BASE & LIBRARIES.
ANALYZES MULTIPLE PROJECTS.
ANALYZES MUTUAL SHARED CODE.
HANDLE MILLIONS OF LINES OF CODE IN RUNTIME MEMORY.
PARSES CODE INTO TOKENS.
BUILDS OBJECT TREES.
BUILDS SEMANTIC TREES.
LINKS BETWEEN ALL OBJECTS LIKE A COMPILER DOES.
MAPS ALL OBJECTS, LOCAL & GLOBAL.
MARKS ALL OBJECTS REFERENCES.
MARKS ALL UNIT DECLARATIONS.
MARKS ALL OBJECT’S DEPENDENCIES.
EXPOSES UNUSED CODE.
EXPOSES BLACK HOLES.
EXPOSES BUGS & ERRORS.
EXPOSES MISSING DECLARATIONS.
EXPOSES POOR PROGRAMING.
EXPOSES SECURITY WEAKNESSES.
LIKE POSSIBLE SQL INJECTIONS.
BUILDS CODE ANALYSIS REPORT.
BUILDS COMPLETE OBJECTS CROSS-REFERENCES REPORT.
BUILDS COMPLETE CODE DEPENDENCIES REPORT.
ENABLES A CODE TOKEN VIEW & TREE VIEW.
ENABLES VISUAL DRILL DOWN NAVIGATOR INTO CODE.
ENABLES POWER SEARCH FOR CODE OBJECTS.
The Delphi Parser Code Analyzer is the development managers’ new best-friend!
It helps development teams to get a control over the code & maintain a cleaned & optimized project’s code through the development life-cycle.
You should use it whenever you wish to release a new version or update, and you want to remove unnecessary files & libraries from code before it is deployed.
You can download a free edition of the Delphi Parser’s Code Dependencies Analyzer, and simply run it on your whole code, and get a clear view of your components, units, objects & classes.
The Delphi Parser Code Analyzer provides you a deep insight into your Delphi components, and shows you what component is being used, how much & where.
Once you have a complete mapping of your Delphi components, you can get the full picture of your code, and have a profound knowledge of what are the building blocks that makes your IT system.
Knowing exactly, what makes your code works, makes it much easier to control it.
Analyzing your code, is the key to success in every legacy IT system modernization.
Once you analyze your code, you will know what legacy components are necessary for you. Those are the one you will need to modernize.
Now, that you know what to do, and how, you can start planning your modernization project.
In fact, if you already analyzed your code using the Delphi Code Analyzer, or ran the Delphi Parser Migration Wizard, while I am speaking, you are already running a modernization process.
Now, you can quickly migrate all the required legacy components to new & modern components, as well as discarding those you don’t really use.
Let me show you how to do it right.
Resolve Unmanaged Code
Using the Delphi Code Analyzer you can discover & resolve your un-managed code.
The Delphi Parser Analyzer gets inside black holes, finds lost code & demolish any pre-historic ghosts that hides in the darkest corners of the legacy code.
The fear from these ghosts, are probably what keeps you & all other developers from touching the legacy code – and prevent you from modernizing your code.
Step by step, as you confront all the legacy ghosts, like a true Jedi, & scare them away, you will gain total control over your code.
And before you know it, the fear is gone, and you have become a Delphi warrior!
Remove Unrequired Components & Units from code
Once you analyze your whole Delphi code, you realize what components are heavily used, and where.
More importantly, is that you will realize what components are not in use, or slightly in use, and can be easily removed from the projects.
From my experience, through all my years of running huge modernization projects. There is nothing that provides more joy, than removing unrequired code from projects.
Like a good diet, that helps you get rid of excessive weight, it makes you feel good about yourself, so are your applications. They will you run faster & perform better.