An empirical study to improve software security through the application of code refactoring | doi.page