How to generate a graph for dependency in classic asp web application? (Static Analysis)
I have to clean up an asp classic application that was previously not under revision control. There are a lot of unused files that branch within the application (eg: file.asp, file_old.asp, file_username.asp) and binary files that we开发者_开发百科re created by the application. I want to be able to:
- Understand dependencies
- Archive unused files
I thought it would be useful to draw a graph of depedency so I can start to remove unused files and directories. Is there a tool to do so? (If not, that's my next open source project.)
I saw microsoft has a tool that can draw these graphs for ASP.net and C++:
http://msdn.microsoft.com/en-us/library/ff657799.aspx
I had to do something like this once.
I ended up writing a script to dump dependencies in dot language
http://www.graphviz.org/doc/info/lang.html
and using http://www.graphviz.org/ to generate PDF output
精彩评论