Recommending refactorings based on team co-maintenance patterns