views:

242

answers:

3

I'm looking for a static code analysis tool that will determine if I have orphaned functions in my VB6 code. The problem I'm running into is we make calls to the VB6 code from classic asp. Is there a tool that will look at both the classic asp and VB6 and determine if there are any orphaned functions?

A: 

I believe this will help you.

graham.reeds
It will analize the VB6 code but it won't check the asp for calls to the VB6 code.
Ryan
+3  A: 

Great Migrations offers a VB6/COM/ASP processor that can produce precisely what you are asking for. These detailed "reference reports" are a side benefit of the primary purpose of the product which is to help developers perform a custom, tool-assisted rewrite of large VB6/ASP/COM systems to the C#/ASPX/.NET platform.

It takes a little work to configure gmStudio to process an ASP site (i.e. you have to tell it which COM libraries to reference and which site files to load) but once given that information it can tell you exactly which members of COM libraries are actually referenced (and where, and how) a second report can tell you which members are not referenced (what you call "orphaned functions").

Visit the Great Migrations site for details.

mark
Wow, I had no idea there were such masochists in the world who would willingly devote their time and effort to stamping out VB6. My hats off to them.
wheaties
A: 

VBDepend can help to understand the existing vb6 code, it's a NDepend like for vb6.

Issam