Hello Guys!
I have just inherited a huge mammoth php project, which is not quite organised. Few of the files are of 25K+ php lines of code. Several sections of code are redundant across the project. Several files are imported into several files... My job is to strip many of the unwanted features of this project. I am not a php guy, but I am comfortable with programming, so that should not be a problem.
Can you folks please tell me what should be my strategy to work with project?
I have the following in my mind.
(1) Use eclipse, to navigate around the project.
(2) Use Xdebug trace the execution and step into the code.
(3) Make Xdebug to dump the line numbers of code executed and write a shell script to extract those lines, so as to isolate the code required by me.
I request everyone to share there experience and strategies in such projects. At the end of the discussion, I would summaries the discussion so that anybody else can get the head start by just reading that.
Thank you!