refactoring

PHP Refactoring Tool

Is there any PHP refactoring tool that would transform a huge noodle code to a proper function based one? ...

Java - Enum with array field

Hey, I want to store a list names and individual nicknames for each name as an Enum in Java. The number of nicknames will not vary. The purpose is to be able to get a full name from a nickname. Currently I have implemented this like so: public enum Names { ELIZABETH(new String[] {"Liz","Bet"}), ... ; private Strin...

How to mark and remove unwanted code (methods, properties) from a .net (C#) project

I have received a legacy .Net c# solution with many class library projects to review, re-factor and reuse. This solution is not used anywhere and lying in the code junkyard. The solution is compiling properly though. There are 4 primary methods, that is needed from the main class library. I just want to retain all the subsequent classes...