Static code analysis for VB6 and classic ASP

ぐ巨炮叔叔 提交于 2020-12-10 03:55:51

问题


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?


回答1:


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.




回答2:


Check out the free ASP Code Analyzer tool on CodePlex. It only has some basic analysis over unused functions and variables, but it's still useful.




回答3:


You can use VBDepend for VB6 and VBA code, static analysis tool based on CQL, there are some of it's functionalities:

Compare Builds, 60 code metrics, manage Complexity and Dependencies



来源:https://stackoverflow.com/questions/2523867/static-code-analysis-for-vb6-and-classic-asp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!