Automated Refactoring of Software using Version History and a Code Element Recentness Measure Topics: Software Patterns and Refactoring In Proceedings of the 13th International Conference on Evaluation of Novel Approaches to Software Engineering - Volume 1: ENASE, 455-462, 2018 , Funchal, Madeira, Portugal