Research In Motion
Design is the crucial step while working on any user story during the sprint in an agile culture of software development. A good design can generate good code and moving further in the journey, a good code would have less or minimum bugs by utilizing benefits of various principles of agile like simplicity, pair programming, less is more approach etc. to its fullest. In this paper, a step wise source code design approach has been proposed for the purpose of obtaining improved code from rotten code using regression testing and refactoring/rewriting methodology.