Abstract
Repeated code modification lowers code quality and impacts object-oriented system design. Object-oriented metrics have proven as indicators of problems in system design. They have been grouped in minimal sets, known as quality models, to assess object-oriented system quality. Improvement can be gained by establishing relationships between quality characteristics and metrics computed from object-oriented diagrams. Quality models include metrics that can produce better code in object-oriented systems. Code quality can also be gained with refactoring. Refactoring is used to reduce complexity and eliminate redundant code. It is important to identify when and where to use refactoring. There are many different approaches. This work presents early stage analysis and focuses on exploring whether object-oriented metrics can be used as indicators where in the code refactoring can be used. Through multiple itera tions of successive measurement and refactoring, relation between metric values and need of refactoring can be concluded.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Laird, L.M., Brennan, C.M.: Software Measurement and Estimation: A Practical Approach. Wiley-IEEE Computer Society Press (2006)
Kan, S.H.: Metrics and Models in Software Quality Engineering, 2nd edn. Addison-Wesley Professional, Reading (2002)
Fioravanti, F.: Skills for Managing Rapidly Changing IT Projects. IRM Press (2006)
Fowler, M., Beck, K., Brant, J., Opdyke, W., Roberts, D.: Refactoring: Improving the Design of Existing Code. Addison-Wesley Professional, Reading (1999)
Emam, K.: A Primer on Object-Oriented Measurement. In: Metrics, Seventh International Software Metrics Symposium (METRICS 2001), London, UK (2001)
El-Wakil, M., El-Batawisi, A., Boshra, M., Fahmy, A.: Object-Oriented Design Quality Models. In: A Survey and Comparison, International Conference on Informatics and Systems (2004)
Brito e Abreu, F., Melo, W.L.: Evaluating the Impact of Object-Oriented Design on Software Quality. In: 3rd International Software Metrics Symposium (METRICS 1996). IEEE, Berlin (1996)
Jamali, S.M.: Object Oriented Metrics. Survey paper, Sharif University of Technology, Tehran Iran (2006)
Rosenberg, L.H.: Applying and Interpreting Object Oriented Metrics. In: Proc. Software Technology Conf., NASA (1998)
Basili, V.R., Briand, L., Melo, W.L.: A Validation of Object-Oriented Design Metrics as Quality Indicators. IEEE Transactions on Software Engineering 22(10) (1996)
Li, W., Henry, S.: Object-Oriented Metrics Which Predict Maintainability. Technical report (1993)
Kaner, C., Bond, W.P.: Software Engineering Metrics: What Do They Measure and How Do We Know? In: 10th International Software Metrics Symposium, Chicago (2004)
Demeyer, S., Ducasse, S.: Metrics, Do They Really Help? In: Proceedings of Languages et Modèles à Objets (LMO 1999). HERMES Science Publications, Paris (1999)
Chidamber, S.R., Darcy, D.P., Kemerer, C.F.: Managerial Use of Metrics for Object-Oriented Software: An Exploratory Analysis. IEEE Transactions on Software Engineering (2005)
Zhao, L., Hayes, J.H.: Predicting Classes in Need of Refactoring: An Application of Static Metrics. In: Proceedings of the Workshop on Predictive Models of Software Engineering (PROMISE), associated with ICSM (2006)
Crespo, Y., López, C., Manso, E., Marticorena, R.: Language Independent Metric Support towards Refactoring Inference. In: 9th Workshop on Quantitative Approaches in Object-Oriented Software Engineering, QAOOSE, Glasgow, UK (2005)
Simon, F., Steinbrückner, F., Lewerentz, C.: Metrics based refactoring. In: Fifth European Conference on Software Maintenance and Reengineering, 2001 (2001)
Moser, R., Sillitti, A., Abrahamsson, P., Succi, G.: Does refactoring improve reusability? In: Morisio, M. (ed.) ICSR 2006. LNCS, vol. 4039, pp. 287–297. Springer, Heidelberg (2006)
Iyer, S.S., Tech, B.: An Analytical Study of Metrics and Refactoring. Master’s Thesis, The University of Texas at Austin (2009)
Understand, http://www.scitools.com/index.php
NDepend, http://www.ndepend.com
Code Rush Refactor!, http://www.devexpress.com/coderush
Resharer, http://www.jetbrains.com/resharper
Refactoring support, http://patterninsight.com/solutions/refactoring.php
Roberts, D., Brant, J., Johnson, R., Opdyke, W.: An Automated Refactoring Tool. In: Proceedings of ICAST 1995: International Conference on Advanced Science and Technology, Chicago, Illinois (1995)
Melton, H., Tempero, E.: Identifying Refactoring Opportunities by Identifying Dependency Cycles. In: Proceedings of the Twenty-Ninth Australasian Computer Science Conference, Hobart, Australia (2006)
Murphy-Hill, E., Andrew, P., Black, A.P.: Breaking the Barriers to Successful Refactoring. In: Proceedings of the 30th International Conference on Software Engineering (ICSE 2008), Leipzig, Germany (2008)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2011 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Boshnakoska, D., Mišev, A. (2011). Correlation between Object-Oriented Metrics and Refactoring. In: Gusev, M., Mitrevski, P. (eds) ICT Innovations 2010. ICT Innovations 2010. Communications in Computer and Information Science, vol 83. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-19325-5_23
Download citation
DOI: https://doi.org/10.1007/978-3-642-19325-5_23
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-19324-8
Online ISBN: 978-3-642-19325-5
eBook Packages: Computer ScienceComputer Science (R0)