Announcing Code Scanner 1.0!

I’ve written a code review tool application and would like to make it available to the community. The application lets you manage a RegEx library (database), and scan directories and files using those RegEx’s. A few already reside there to get you started. I’m not a RegEx ninja, so they could probably use some improvement.

While the code isn’t all that tidy, It’s good enough to do the job. I’ll warn you – the server side validation is crude. I wrote it quickly, but I plan to keep whipping it into shape in the near future.  My company’s code standards demand it.

Features:

  • Scan a directory and optionally scan subdirectories
  • Scan up to 5 individual files
  • Add your own custom RegExs to the library
  • A RegEx can be applied on a per-line basis, or a full page basis
  • Scans multiple file types – you pick them
  • Optionally have the scanner remove tabs and carriage returns (This could be improved. DB-driven would be nice). My company doesn’t allow tabs or carriage returns.
  • Tested on CF8/MySQL 5

You can download it here:

www.wtomlinson.com/CodeScan.zip

Just open the README.txt file to get started.

Enjoy!

2 comments so far

  1. [Justice] on

    No tabs or carriage returns? Any rationale for that one (just curious) – Is all the code slammed on the left, or do you indent with spaces?

  2. willtomlinson on

    We can only indent with spaces.

    :)


Leave a reply