8

I have a large web app, and I think there are a bunch of old files that are no longer being used, is there an app which can tell me what these files are?

2
  • 1
    Can you explain the context a bit more please? Are you talking about unused code? unused data and configuration files? Commented Nov 28, 2009 at 3:13
  • unused code files, this is a PHP project. Commented Nov 28, 2009 at 3:38

3 Answers 3

1

I think you need to check out the project management tools available for php.

You can have a look at phpUnderControl (http://www.phpundercontrol.org/about.html) and CruiseControl (you can google it).

You can also use a tool (i.e and IDE) that will give a Code Coverage Report.

Sign up to request clarification or add additional context in comments.

Comments

0

There is also the Dead Code Detector (DCD). It finds functions that are never called, which may help to clean up even the files you keep in production.

Comments

0

You should be able to start with your web server logs. These will show you which files ARE being used. From there you should be able to track down a good number of the files those reference. Don't know of a good way to find out which aren't being used, only those that are.

1 Comment

This is what I was thinking, but I'd like to not have to write a program to parse over them.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.