-
Notifications
You must be signed in to change notification settings - Fork 12
Home
To use the Delphi expert to find out about the code complexity metric of your code first you need to compile the thing. To do that you'll need Apache Ant in your path as well as the Delphi compiler. That's the automated build system for the project.
Once you've compiled everything in the build\bin folder you'll find the command-line tool delcos.exe as well as the expert library CodeMetricsExp.dll. The easiest way to install it into the IDE is to use GExpert's Expert Manager. Other way to install it would be to add the required registry key all by yourself.
HKEY_CURRENT_USER\Software\Borland\Delphi\7.0\Experts
CodeMetricsExp=path to the CodeMetricsExp.dll file
Here's an example registry file if you've copied the dll to C::
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Borland\Delphi\7.0\Experts]
"CodeMetricsExp"="C:\CodeMetricsExp.dll"