Analisis Pengaruh Design Pattern Terhadap Pemeliharaan Perangkat Lunak Learning Management System
DOI:
https://doi.org/10.61769/telematika.v18i1.543Keywords:
software maintainability, design pattern, PHP Laravel, learning management system, software metric, object-oriented programming, template method, mediator, builder, strategy, singleton, complexity, maintainability index, coupling, line of codeAbstract
Software development focuses more on functionality so code quality is neglected. Design patterns can support faster development while supporting good code quality thus affecting long-term software maintenance. This research focuses on analyzing the effect of design patterns on software maintenance with open-source learning management system software in terms of design pattern characteristics. Five design patterns were applied and analyzed to assess the implementation method and design pattern characteristics. Testing is done using PHP Metrics. There are nine metrics to measure the complexity, size, cohesion, and dependability of each class. Overall, the design pattern had a good impact. Method templates and mediators have a good impact on cohesion, size, dependability, and complexity. Singletons increased the number of classes. Builders and strategies don't have much impact on size and complexity. Each design pattern generates a new class, so the complexity, dependencies, and size of the code are abstracted into that class.
References
K. Elbaz dan Allaoua Chaoui, “An empirical study to improve software quality through design patterns,” Int. J. Ind. Syst. Eng., vol. 29, no. 1, hlm. 74–94, 2018, doi: 10.1504/IJISE.2018.091435.
F. Abdullah, “Evaluating Impact of Design Patterns on Software Maintainability and Performance,” University of Oslo, 2017.
P. Redmond, “Laravel 9.5 Released,” Laravel News, 2022. https://laravel-news.com/laravel-9-5-0
A. Nanthaamornphong dan R. Wetprasit, “Methods to measure the impact of design patterns on software maintainability,” Maejo Int. J. Sci. Technol., vol. 12, no. 3, hlm. 251–271, 2018.
N. Qamar dan A. A. Malik, “Impact of design patterns on software complexity and size,” Mehran Univ. Res. J. Eng. Technol., vol. 39, no. 2, hlm. 342–352, 2020, doi: 10.22581/muet1982.2002.10.
M. Alfadel, K. Aljasser, dan M. Alshayeb, Empirical study of the relationship between design patterns and code smells, vol. 15, no. 4. 2020. doi: 10.1371/journal.pone.0231731.
I. M. B. Gautama, S. Rochimah, dan R. J. Akbar, “Assessing the impact of enterprise software design patterns on maintainability: a case study,” dalam 2019 1st International Conference on Cybernetics and Intelligent System (ICORIS), 2019, hlm. 128–132. doi: 10.1109/ICORIS.2019.8874885.
A. Shvets, Dive into Design Patterns. Refactoring Guru, 2018.
E. Gamma, R. Helm, R. Johnson, J. Vlissides, dan G. Booch, Design Patterns: Elements of Reusable Object-Oriented Software, 1st ed. Massachusetts: Addison-Wesley Professional, 1994.
N. Fenton dan J. Bieman, Software Metrics: A Rigorous and Practical Approach, 3rd ed. Florida: Taylor & Francis Group, 2015.
R. S. Pressman, Software Engineering: A Practitioner’s Approach, 8th ed. New York: McGraw Hill, 2014.
P. Oman dan J. Hagemeister, “Construction and testing of polynomials predicting software maintainability,” J. Syst. Softw., vol. 24, no. 3, pp. 251–266, 1994, doi: 10.1016/0164-1212(94)90067-1.
P. Redmond, “Unified Transform Open-Source School Management Platform,” Laravel News, 2019. https://laravel-news.com/unified-transform-open-source-school-management-platform
Downloads
Published
Issue
Section
License
Copyright (c) 2023 Albertus Kevin, Hans Christian Kurniawan
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
You are free to:
- Share — copy and redistribute the material in any medium or format for any purpose, even commercially.
- Adapt — remix, transform, and build upon the material for any purpose, even commercially.
- The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation.
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.