Effects of Refactoring and Design Patterns on The Software Source Code Quality : An Empirical Assessment

Authors

  • Muhammad Shahid Raees National University of Computer and Emerging Sciences NUCES-FAST, Lahore, Punjab, Pakistan
  • Muhammad Adeel Ashraf Department of Computer Science, University of Management and Technology, Lahore, Punjab, Pakistan

DOI:

https://doi.org/10.21015/vtcs.v15i2.514

Abstract

The purpose of this research is to identify the impact of refactoring techniques and design patterns on the source code of the Data management application. The research methodology used for this research is first identify the source code bad smells and then remove them by apply refactoring techniques and design patterns. To evaluate the impact of refactoring and design patterns on the source code quality; the code metrics and visual studio 2015 community edition is used to evaluate code metrics. The results of this research shows that the applying refactoring and design patterns in a combination has a positive effect on the source code quality. The code reusability, expandability and understandability will be increased.

References

Gamma, E., Helm, R., Johnson, R., Vlissides, J., & Patterns, D. (1995). Elements of reusable object-oriented software. Reading: Addison-Wesley.

Lange, D. B., & Nakamura, Y. (1995, October). Interactive visualization of design patterns can help in framework understanding. In ACM Sigplan Notices (Vol. 30, No. 10, pp. 342-357). ACM.

Advani, D., Hassoun, Y., & Counsell, S. (2006, April). Extracting refactoring trends from open-source software and a possible solution to the'related refactoring'conundrum. In Proceedings of the 2006 ACM symposium on Applied computing (pp. 1713-1720). ACM.

Wendorff, P. (2001). Assessment of design patterns during software reengineering: Lessons learned from a large commercial project. In Software Maintenance and Reengineering, 2001. Fifth European Conference on (pp. 77-84). IEEE.

Xing, Z., & Stroulia, E. (2006, October). Refactoring detection based on umldiff change-facts queries. In null (pp. 263-274). IEEE.

Khomh, F., & Gueheneuce, Y. G. (2008, April). Do design patterns impact software quality positively?. In Software Maintenance and Reengineering, 2008. CSMR 2008. 12th European Conference on (pp. 274-278). IEEE.

Tran, T. Software Complexity Model.

Bozhikova, V., Stoeva, M., Georgiev, B., & Nikolaeva, D. (2017, September). Improving the software quality—an educational approach. In Scientific Conference Electronics (ET), 2017 XXVI International (pp. 1-4). IEEE.

Sarcar, V. (2016). FAQ. In Java Design Patterns (pp. 163-167). Apress, Berkeley, CA.

Najm, N. M. A. M. (2014). Measuring Maintainability Index of a Software Depending on Line of Code Only. vol, 16, 64-69.

Tran, T. Software Complexity Model, https://ndiastorage.blob.core.usgovcloudapi.net/ndia/2017/systems/Wednesday/Track6/19745_Tran.pdf

ZHANG, Y., & ZHENG, W. (2009). http://msdn. microsoft. com/en-us/library/ms783323 (VS. 85). aspx http://msdn. microsoft. com/en-us/library/ms783323 (VS. 85). aspx. IEICE transactions on information and systems, 92(12), 2422-2429.

Najm, N. M. A. M. (2014). Measuring Maintainability Index of a Software Depending on Line of Code Only. vol, 16, 64-69.

Downloads

Published

2018-07-16

How to Cite

Raees, M. S., & Ashraf, M. A. (2018). Effects of Refactoring and Design Patterns on The Software Source Code Quality : An Empirical Assessment. VAWKUM Transactions on Computer Sciences, 6(1), 48–54. https://doi.org/10.21015/vtcs.v15i2.514