Pengaruh Test-Driven Development terhadap Metrik Testabilitas Kode dalam Pengembangan Aplikasi Android
DOI:
https://doi.org/10.52436/1.jpti.648Kata Kunci:
aplikasi Android, modularitas, pengembangan perangkat lunak, testabilitas kode, Test-Driven DevelopmentAbstrak
Test-Driven Development (TDD) adalah metode pengembangan perangkat lunak yang menulis pengujian sebelum implementasi kode untuk meningkatkan testabilitas. Penelitian ini menganalisis dampak TDD terhadap testabilitas kode menggunakan studi kasus aplikasi Android Sedonor. Pengukuran dilakukan sebelum dan sesudah penerapan TDD dengan metrik Response for Class (RFC), Lines of Code (LOC), Lines of Comment (LOCCOM), Weighted Method per Class(WMC), dan Number of Method Calls (NMC).
Unduhan
Referensi
P. Reich and W. Maalej, “Testability Refactoring in Pull Requests: Patterns and Trends,” Jan. 2023. doi: 10.48550/arXiv.2303.14253.
J. Mona, “Software Testability (Its Benefits, Limitations, and Facilitation),” Next Generation of Internet of Things, Sep. 2022.
Y. Zhou et al., “An in-depth investigation into the relationships between structural metrics and unit testability in object-oriented systems,” Science China Information Sciences, vol. 55, no. 12, pp. 2800–2815, 2012, doi: 10.1007/s11432-012-4745-x.
V. Garousi, M. Felderer, and F. N. K?l?çaslan, “A survey on software testability,” Apr. 01, 2019, Elsevier B.V. doi: 10.1016/j.infsof.2018.12.003.
M. Efatmaneshnik and M. Ryan, “A STUDY OF THE RELATIONSHIP BETWEEN SYSTEM TESTABILITY AND MODULARITY,” INSIGHT, vol. 20, pp. 20–24, Mar. 2017, doi: 10.1002/inst.12140.
K. Beck, Test-driven Development: By Example. in Addison-Wesley signature series. Addison-Wesley, 2003. [Online]. Available: https://books.google.co.id/books?id=CUlsAQAAQBAJ
M. Rahman, A. Saha, U. Chakraborty, H. Sujana, and S. M. A. Shafi, “Evaluating the impact of Test-Driven Development on Software Quality Enhancement,” International Journal of Mathematical Sciences and Computing, vol. 10, pp. 51–76, Sep. 2024, doi: 10.5815/ijmsc.2024.03.05.
M. I. Naufal, I. #1, A. #2, and Z. Sari, “Dampak Test-Driven Development pada Kualitas Kode,” JEPIN (Jurnal Edukasi dan Penelitian Informatika), 2023.
A. Vijaywargi and U. K. Boddapati, “EMBRACING TEST-DRIVEN DEVELOPMENT (TDD) IN MODERN ANDROID APPLICATIONS,” International Research Journal of Modernization in Engineering Technology and Science, vol. 6, p. 11557, Apr. 2024, doi: 10.56726/IRJMETS53809.
M. Alenezi, Investigating Software Testability and Test cases Effectiveness. 2022.
M. Aniche, “CK: Code metrics for Java code by means of static analysis,” https://github.com/mauricioaniche/ck.
L. Neves, O. Campos, R. Santos, C. de Magalhaes, I. Santos, and R. de Souza Santos, “Elevating Software Quality in Agile Environments: The Role of Testing Professionals in Unit Testing,” Feb. 2024.
L. Martins, V. Pontillo, H. Costa, F. Ferrucci, F. Palomba, and I. Machado, “Test Code Refactoring Unveiled: Where and How Does It Affect Test Code Quality and Effectiveness?,” Feb. 2023. doi: 10.48550/arXiv.2308.09547.
R. C. Martin, Clean Code: A Handbook of Agile Software Craftsmanship. in Robert C. Martin series. Prentice Hall, 2009. [Online]. Available: https://books.google.co.id/books?id=hjEFCAAAQBAJ
S. R. Chidamber and C. F. Kemerer, “A metrics suite for object oriented design,” IEEE Transactions on Software Engineering, vol. 20, no. 6, pp. 476–493, 1994, doi: 10.1109/32.295895.