Watch, Follow, &
Connect with Us

ID: 27398, Unicode Statistics Tool

by Anders Ohlsson Email: Anonymous


This utility will hopefully assist you in collecting useful statistics
on how hard (or not) it would be to migrate your older applications to
Unicode.
Download Details
CDN Login Required to Download. (You will be redirected to the login page if you click on the Download Link)
To download this, you must have registered:
A free membership

For Delphi, Version 1.0  to 14.0 3048 downloads
Copyright: Open Source or other


Size: 626,941 bytes
Updated on Fri, 09 Oct 2009 12:56:27 GMT
Originally uploaded on Fri, 09 Oct 2009 12:56:26 GMT
SHA1 Hash: CA3C43AD441527A91E1E20517F0E3882607B7756
MD5 Hash: A323A5DB22A96BFCE616DA767992D669

    Explore the files in this upload

Description
Parser.exe is based on Jacob Thurman's work, and should support Pascal
code all the way back to the early days. It may have some issues with
some really old and esoteric syntax.

Please take it for a spin and give me some feedback. I'd like to know
if it helps you, and if so - how? ;)

When you first launch the app, you will have to specify a directory
where the source code you'd like to analyze lives. You can choose to
process sub directories or not.

Hit "Process files" and let it run. You'll see the tool logging processed
files as it goes.

If you run into an ERROR (it gives a line number) it most likely ran
into some syntax that it doesn't like. Don't worry about that. At least
not yet... ;)

Once finished, the treeview at the bottom will be populated. It'll list
all used units (and how many times each one was used), number of files,
number of lines, and number of instances of quite a few things that may
or may not be interesting to you, such as String, Read, Write, SizeOf,
etc.

Each node can be expanded and this is where it gets interesting. You'll
notice number of instances of each token per file and as a percentage
of all instances of that token found.

Should you be daring enough to want stats on your own custom tokens,
feel free to put them in the box that says "GetTempFileNameA" and hit
"Add Token". Nothing will happen quite yet. Add as many tokens as you
want, hitting "Add Token" between each one. Then hit "Process files"
again and you will get your custom stats added to the tree view.

Oh, BTW, "Save Report" simply saves a flat version of the tree view
to a file.

Source code is included.

Good luck, enjoy, and let me know how it goes!

Thanks!

Server Response from: ETNACDC02