Metrics based refactoring | Synapse