« Back to projects

VB.Net Signature Survey

Languages: Ruby
Summary: Ward Cunningham's Signature Survey, adapted for vb.net, with some enhancements of my own.
Source code: github [.tar.gz / .zip]

Details

A signature survey is a simple text-only visualization of source code, pioneered by Ward Cunningham. The original was written with Java in mind and essentially strips out all characters except for curly braces and semicolons. Check out the interactive example to really get a feel for my version.

What use is it?

First I’ll summarize a few of the neat points of Ward Cunningham’s original Signature Survey:

Here are a few improvements that I implemented in mine:

And a few things that were adjusted because of language and personal preference:

Usage

Move vb_signature_survey.rb to the root directory of your project, then run it.

ruby vb_signature_survey.rb

Example

I searched around on github and sourceforge for a decent-sized vb.net project, and ended up with DWSIM. DWSIM is an open source chemical process simulator written in VB.NET.

I ran the script on this project and put up the results as an interactive example. Try browsing around and imagine having it up beside the actual source code in your editor of choice.

Content by Nick Knowlson: Google+
rsstwitter