Try this http://www.peganza.com/index.htm#PAL
Pascal Analyzer (PAL), was released in 2001, and is currently in version 6. This program parses Delphi or Borland Pascal source code and produces reports that help you understand your source code better. You will also be able to identify potential errors and anomalies. Your code will be more readable and maintainable. Pascal Analyzer can also check how coding standard guidelines are followed. The static code analysis performed by Pascal Analyzer can help you find bugs early in the development process. According to a study published in 2002 by America's National Institute of Standards and Technology (NIST) software bugs cost to the American economy alone is $60 billion a year.