auditing ASP / COM applications

Results 1 to 3 of 3

Thread: auditing ASP / COM applications

  1. #1
    Sherif Abushadi Guest

    Default auditing ASP / COM applications

    Thanks for reading.<BR><BR>We&#039ve got several hundred ASP pages in this application and about 50 COM<BR>objects. Each of the objects has several methods, some have 20 or more.<BR><BR>Someone just asked the following:<BR><BR>"Which methods are no longer being used? Shouldn&#039t we pull the objects<BR>which are obsolete out of production?"<BR><BR>Since no one has been keeping track, we&#039re at a loss.<BR><BR>We&#039re looking for a tool that will, much like the disk usage tools do, audit<BR>the ASP usage of all the methods in the COM layer. That way we can focus<BR>our attention on the most actively used methods and remove those that are<BR>never used.<BR><BR>Any suggestions?<BR><BR>Thanks again.<BR><BR><BR>

  2. #2
    Steve Cimino Guest

    Default My Suggestion

    By removing anything from exisiting components, you&#039re breaking a rule of COM -- You can add functionality, but not take any away. Unless of course, you&#039re going to kill the entire COM object.<BR><BR>However, should this rule apply to Internet apps compared to distributed apps? Absolutely. You said yourself you have hundreds of pages. Besides, what&#039s obsolete right now, may be a good solution tomorrow, you&#039ll never know.<BR><BR>What&#039s the main reason for removing these? For readability to your ASP guys when they type "." after the object? Leaving the methods in won&#039t hurt anything. My advice is in your documentation write "Obsolete" next to the method. (And we all have excellent documentation, don&#039t we?)

  3. #3
    John M. Guest

    Default RE: auditing ASP / COM applications

    One way you could find out if your using what objects or methods, is to do a search in Interdev for the name of the object or method for a specified directory/drive/etc.., and see if it finds any matches in your asp pages.<BR><BR>Ctrl-F, Server.CreateObject("YourObject.YourMethod")<BR>Cl ick on Browse, and select the directory.<BR>Click on Find and it will return all occurences of that string.<BR><BR>Have fun, ;)<BR>John

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts