Towards a General Framework for Developing Effective Metrics