Abstract
The object-oriented programming is widely adopted in recent software developments. The development of a well-designed software system is needed that reduces software maintenance costs. On the other hand, the internal structure of the software system is deteriorating due to prolong maintenance operations. In such cases, restructuring is one of the strategies to strengthen the system’s overall internal structure without changing its external behavior. Another restructuring strategy is to use refactoring on the current system. Code refactoring is an effective approach to software development to improve the internal structure of the program. Through refactoring, the quality of the program can be enhanced by maintenance and improvement in reliability. Code refactoring is done without any modification in its features. Cohesion is used to assess a software system’s design quality and is the main pillar of object-oriented software development in good software design. Using software metrics, the quality of object-oriented classes that require code refactoring is assessed. This work proposes the need for refactoring and focuses on exploring how to use object-oriented metrics as guidance where code refactoring may be used. We present object-oriented software metric, i.e., cohesion metric and analyzes the need of metric for restructuring.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Pressman, R.S.: Software engineering: a practitioner’s approach, 4th edn. McGraw-Hill, New York (1997)
Sommerville: Software Engineering. International Computer Science Series, 5th edn. Addison-Wesley Pub. Co, Wokingham, England (1996)
IEEE ISO: International Standard—ISO/IEC 14764 IEEE Std 14764–2006—Software Engineering—Software Life Cycle Processes -Maintenance. IEEE, 2 editions, Sept 2006
Fowler, M., Beck, K., Brant, J., Opdyke, W., Robert, D.: Refactoring: Improving the Design of Existing Code. Addison-Wesley, Boston (1999)
Chidamber, S.R., Kemerer, C.F.: A metrics suite for object oriented design. IEEE Trans. Softw. Eng. 20(6), 476–493 (1994)
Brian Henderson-Sellers: Object-Oriented Metrics: Measures of Complexity. Prentice-Hall, Inc. (1996)
Aggarwal, K.K., Singh, Y., Kaur, A., Malhotra, R.: Investigating effect of design metrics on fault proneness in object-oriented systems. J. Obj. Technol. 6(10):127–141 (2007)
Chidamber, S.R., Darcy, D.P., Kemerer, C.F.: Managerial use of metrics for object-oriented software: an exploratory analysis. IEEE Trans. Softw. Eng. 24(8):629–639 (1998)
Briand, L.C., Daly, J.W., Wüst, J.: A unified framework for cohesion measurement in object-oriented systems. In: Proceedings Fourth International Software Metrics Symposium (1997)
Bieman, J.M., Kang, B.-K.: Cohesion and reuse in an object-oriented system. In: SIGSOFT Software Engineering Notes, Proceedings of the 1995 Symposium on Software Reusability, volume 20 of SSR’95, p p259–262, Seattle, Washington, United States,. ACM (1995)
Bobde, S., Phalnikar, R.: Restructuring of object oriented system using clustering technique. In: International Conference on Computational Science and Application, pp 419–425. Springer Singapore (2019)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Editor(s) (if applicable) and The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Bobde, S., Phalnikar, R. (2021). Cohesion Measure for Restructuring. In: Senjyu, T., Mahalle, P.N., Perumal, T., Joshi, A. (eds) Information and Communication Technology for Intelligent Systems. ICTIS 2020. Smart Innovation, Systems and Technologies, vol 195. Springer, Singapore. https://doi.org/10.1007/978-981-15-7078-0_59
Download citation
DOI: https://doi.org/10.1007/978-981-15-7078-0_59
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-15-7077-3
Online ISBN: 978-981-15-7078-0
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)