Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jan 2003
    Thanked 0 Times in 0 Posts

    Remove unused files from PHP project

    Do you know a tool that can scan a tree of PHP files (but also web-related files such as HTML or CSS, anything that can include other files - I want to emphasize that the tool must be able to recursively scan a directory and be aware of include, require, @import, <x src> and other known including directives) and tell what files are independent.

    More exactly, I want a tool to find old unused files in my PHP projects so I can zap them.
    Last edited by fan; 12-12-2007 at 01:25 PM.

  2. #2
    Senior Coder
    Join Date
    Jan 2007
    Thanked 58 Times in 54 Posts
    This is something you will have to do manually. There are techniques out there that can create dependencies, that the usual parser would not be able to figure them out without running the code.

    At least for PHP.


Posting Permissions

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