IDENTIFIKACIJA KOHEZIVNIH CJELINA KLASE

  • Balša Šarenac
Ključne reči: OOP, kohezija, čist kod, refaktorisanje

Apstrakt

U radu je opisan algoritam pronalaska kohezivnih cjelina unutar klase. Algoritam nudi korisniku moguće načine refaktorisanja klase na dvije manje visoko kohezivne klase.

Reference

[1] R. C. Martin, Ур., Clean code: a handbook of agile software craftsmanship. Upper Saddle River, NJ: Prentice Hall, 2009.
[2] Yuming Zhou, Baowen Xu, Jianjun Zhao, и Hongji Yang, „ICBMC: an improved cohesion measure for classes“, у International Conference on Software Maintenance, 2002. Proceedings., Montreal, Que., Canada, 2002, doi: 10.1109/ICSM.2002.1167746.
[3] H. Izadkhah и M. Hooshyar, „Class Cohesion Metrics for Software Engineering: A Critical Review“,
[4] L. C. Briand, S. Morasca, и V. R. Basili, „Property-based software engineering measurement“, IEEE Trans. Softw. Eng., doi: 10.1109/32.481535.
[5] J. Al Dallal, „Measuring the Discriminative Power of Object-Oriented Class Cohesion Metrics“, IEEE Trans. Softw. Eng., Нов. 2011, doi: 10.1109/TSE.2010.97.
[6] A. Marcus, D. Poshyvanyk, и R. Ferenc, „Using the Conceptual Cohesion of Classes for Fault Prediction in Object-Oriented Systems“, IEEE Trans. Softw. Eng., Март 2008, doi: 10.1109/TSE.2007.70768.
[7] Heung Seok Chae и Yong Rae Kwon, „A cohesion measure for classes in object-oriented systems“, у Proceedings Fifth International Software Metrics Symposium. Metrics (Cat. No.98TB100262), Bethesda, MD, USA, 1998, doi: 10.1109/METRIC.1998.731241.
[8] L. C. Briand, J. W. Daly, и J. Wust, „A unified framework for cohesion measurement in object-oriented systems“, у Proceedings Fourth International Software Metrics Symposium, Albuquerque, NM, USA, 1997, doi: 10.1109/METRIC.1997.637164.
[9] J. Al Dallal, „The impact of accounting for special methods in the measurement of object-oriented class cohesion on refactoring and fault prediction activities“, J. Syst. Softw., Мај 2012, doi: 10.1016/j.jss.2011.12.006.
Objavljeno
2022-01-31
Sekcija
Elektrotehničko i računarsko inženjerstvo