I was put in charge of maintaining, alone, a project that I never worked on before, altough I just received this task, and just started to look around the code, management asked me how long it would take to implement some new features and bugfixes. How should I evaluate this, what´s the better approach? Should I evaluate the time to "just make it work", or consider extra time to refactor some (a lot?) of code smells.
I guess the main thing is, how do you estimate changes on code you have never seen before, and would you try to "improve" the existing code, whithout knowing how long it would take or what could happen?
EDIT: made it more clearer, that I´m just beggining to analyze the code.