SLOCCount is a suite of programs for counting physical source lines of code (SLOC) in possibly large software systems. It can count physical SLOC for a wide number of languages. It can take a large set of files and automatically categorize their types using a number of different heuristics, and also comes with analysis tools.
Delphi/Kylix/FreePascal were lacking a mock library. The Pascal Mock library enables the easy creation and use of Mock objects for unit testing, inspired by the various Java mock object tools. Mock objects ease unit testing by acting as replacements for classes that the object being tested must interact with.