In the whole life cycle of software,most of software systems have to be modifiedunceasingly to adapt to requirements changes.Such an unorderly modification leads to thecomplication of internal structure gradually.And what's more,it's difficult to correct andreuse.Refactoring is such a regular, disciplined and systematically method that arrangesprogrammes.And it's aim is to improve internal structure of softwares and adjust designscontainned in codes without changing external actions. Refactoring by hand is a kind of time-consuming work,which is a reason forimpeding refactoring.Therefore,it's important to make refactoring easy and convenientthrough supplying automatic refactoring devices.And it is also an significant aspect ofresearching refactoring.The article analyzes and researches the developmental directionof automatic refactoring.And then it probes into the supports of C# to refactoring.Andlast,I design and realize an automatic refactoring tool—SharpRefactor which is behindC#.
|