I need a tool to analyse ASP.Net web site source code and list pages not referred to
-
Does anyone know of a tool that will analyse the source code behind an ASP.Net web site, and list pages that are not referred to, or methods that are not referred to? I have this disgusting habit of removing the navigation link to a page because it is no longer needed, but leaving the page in place "just in case" then forgetting I've done that. Same with methods.
-
Does anyone know of a tool that will analyse the source code behind an ASP.Net web site, and list pages that are not referred to, or methods that are not referred to? I have this disgusting habit of removing the navigation link to a page because it is no longer needed, but leaving the page in place "just in case" then forgetting I've done that. Same with methods.
Not sure I would trust such a tool, though I suppose it could work much of the time. May not work well for dynamically generated URL's, such as this:
Response.Redirect(Path.Combine(Config.BaseUrl, Config.EditPage));
Though, it should be pretty easy to find methods that aren't referenced (except for when it's done via reflection!). Maybe turn on warnings in the output or use something like StyleCop.
-
Does anyone know of a tool that will analyse the source code behind an ASP.Net web site, and list pages that are not referred to, or methods that are not referred to? I have this disgusting habit of removing the navigation link to a page because it is no longer needed, but leaving the page in place "just in case" then forgetting I've done that. Same with methods.
There's a lot of tools around here, but most left the weekend.
"Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" — Hunter S. Thompson