Code refactoring on bad system design
I am a junior software engineer who've been given a task to take over a old system. This system has several problems, based on my preliminary assessment. spaghetti code repetitive code classes with 10k lines and above misuse and over-logging using log4j bad database table design Missing source control -> I have setup Subversion for this Missing documents -> I have no idea of the business rule, except to read the codes How should I go about it to enhance the quality of the system and resolve such issues? I can think of using static code analysis software to resolve any bad coding practice.