Posts Tagged ‘coding’

Finding the best target for refactoring

September 23, 2009 Leave a comment

We are doing a lot of refactoring at the moment modifying systems to do with the PCI requirements of credit card data storage. Part of my job has been changing existing systems to comply with the requirements and we have taken advantage of this to make some tidy up some of the code base. The two ways I have been choosing my targets had been to use NDepend to find its targets using CQL (More about that in another post) and just simply looking at the number of using statements in the file.

Picking  the classes with the most using statements  is a useful way to find the best targets for refactoring.

Categories: Development Tags: