Skip to main content

2014 | OriginalPaper | Buchkapitel

Theoretical Validation of New Class Cohesion Metric Against Briand Properties

verfasst von : Sandip Mal, Kumar Rajnish

Erschienen in: Intelligent Computing, Networking, and Informatics

Verlag: Springer India

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Class cohesion is an object-oriented software quality attribute and refers to the extent to which the members of a class are related. Software developers use class cohesion measures to assess the quality of their products and to guide the restructuring of poorly designed classes. Several class cohesion metrics are proposed in the literature, and a few of them are theoretically validated against the necessary properties of class cohesion. Metrics that violate class cohesion properties are not well defined, and their utility as indictors of the relatedness of class members is questionable. The purpose of this paper is to theoretically validate proposed class cohesion metrics using class cohesion properties. Results show that metrics differ considerably in satisfying the cohesion properties; some of them satisfy all properties, while others satisfy none.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Dallal, J.A., Briand, L.: A precise method–method interaction-based cohesion metric for object-oriented classes, TR, Simula Research Laboratory, ACM transactions on software engineering and methodology (TOSEM) (2009, in press) Dallal, J.A., Briand, L.: A precise method–method interaction-based cohesion metric for object-oriented classes, TR, Simula Research Laboratory, ACM transactions on software engineering and methodology (TOSEM) (2009, in press)
2.
Zurück zum Zitat Chen, Z., Zhou, Y., Xu, B.: A novel approach to measuring class cohesion based on dependence analysis. Proceedings of the International Conference on Software Maintenance, pp. 377–384 (2002) Chen, Z., Zhou, Y., Xu, B.: A novel approach to measuring class cohesion based on dependence analysis. Proceedings of the International Conference on Software Maintenance, pp. 377–384 (2002)
3.
Zurück zum Zitat Dallal, J. A.: Mathematical validation of object-oriented class cohesion metrics. Int. J. Comput. 4(2), 45–52 Dallal, J. A.: Mathematical validation of object-oriented class cohesion metrics. Int. J. Comput. 4(2), 45–52
4.
Zurück zum Zitat Gui, G., Scott, P.D.: Coupling and cohesion measure for evaluation of component reusability, MSR’06, May 22–23, Shanghai, China, pp. 18–21 (2006) Gui, G., Scott, P.D.: Coupling and cohesion measure for evaluation of component reusability, MSR’06, May 22–23, Shanghai, China, pp. 18–21 (2006)
5.
Zurück zum Zitat Chidamber, S.R., Kemerer, C.F.: Towards a metrics suite for object-oriented design, object-oriented programming systems, languages and applications (OOPSLA). Special Issue of SIGPLAN Notices 26(10), 197–211 (1991)CrossRef Chidamber, S.R., Kemerer, C.F.: Towards a metrics suite for object-oriented design, object-oriented programming systems, languages and applications (OOPSLA). Special Issue of SIGPLAN Notices 26(10), 197–211 (1991)CrossRef
6.
Zurück zum Zitat Chidamber, S.R., Kemerer, C.F.: A metrics suite for object oriented design. IEEE Trans. Softw. Eng. 20(6), 476–493 (1994)CrossRef Chidamber, S.R., Kemerer, C.F.: A metrics suite for object oriented design. IEEE Trans. Softw. Eng. 20(6), 476–493 (1994)CrossRef
7.
Zurück zum Zitat Li, W., Henry, S. M.: Maintenance metrics for the object oriented paradigm. In: Proceedings of 1st International Software Metrics Symposium, Baltimore, MD, pp. 52–60 (1993) Li, W., Henry, S. M.: Maintenance metrics for the object oriented paradigm. In: Proceedings of 1st International Software Metrics Symposium, Baltimore, MD, pp. 52–60 (1993)
8.
Zurück zum Zitat Hitz, M., Montazeri, B.: Measuring coupling and cohesion in object oriented systems. In: Proceedings of the International Symposium on Applied Corporate Computing, pp. 25–27 (1995) Hitz, M., Montazeri, B.: Measuring coupling and cohesion in object oriented systems. In: Proceedings of the International Symposium on Applied Corporate Computing, pp. 25–27 (1995)
9.
Zurück zum Zitat Henderson-Sellers, B.: Software Metrics. Prentice Hall, Hemel Hempstead (1996) Henderson-Sellers, B.: Software Metrics. Prentice Hall, Hemel Hempstead (1996)
10.
Zurück zum Zitat Bieman, M., Kang,B.: Cohesion and reuse in an object-oriented system. In: Proceedings of the 1995 Symposium on Software Reusability, Seattle, Washington, United States, pp. 259–262 (1995) Bieman, M., Kang,B.: Cohesion and reuse in an object-oriented system. In: Proceedings of the 1995 Symposium on Software Reusability, Seattle, Washington, United States, pp. 259–262 (1995)
11.
Zurück zum Zitat Badri, L., Badri, M.: A proposal of a new class cohesion criterion: an empirical study, J. Obj. Technol. 3(4), 145–159 (2004) Badri, L., Badri, M.: A proposal of a new class cohesion criterion: an empirical study, J. Obj. Technol. 3(4), 145–159 (2004)
12.
Zurück zum Zitat Briand, L.C., Daly, J., Wuest, J.: A unified framework for cohesion measurement in object-oriented systems. Empirical Softw. Eng. An Int. J. 3(1), 65–117 (1998)CrossRef Briand, L.C., Daly, J., Wuest, J.: A unified framework for cohesion measurement in object-oriented systems. Empirical Softw. Eng. An Int. J. 3(1), 65–117 (1998)CrossRef
13.
Zurück zum Zitat Fernández, L., Peña, R.: A sensitive metric of class cohesion. Int. J. Inf. Theor. Appl. 13(1), 82–91 (2006) Fernández, L., Peña, R.: A sensitive metric of class cohesion. Int. J. Inf. Theor. Appl. 13(1), 82–91 (2006)
14.
Zurück zum Zitat Bonja, C., Kidanmariam, E.: Metrics for class cohesion and similarity between methods. In: Proceedings of the 44th Annual ACM Southeast Regional Conference, Melbourne, Florida, pp. 91–95 (2006) Bonja, C., Kidanmariam, E.: Metrics for class cohesion and similarity between methods. In: Proceedings of the 44th Annual ACM Southeast Regional Conference, Melbourne, Florida, pp. 91–95 (2006)
15.
Zurück zum Zitat Bansiya, J., Etzkorn, L., Davis, C., Li, W.: A class cohesion metric for object-oriented designs. J. Object-Oriented Program 11(8), 47–52 (1999) Bansiya, J., Etzkorn, L., Davis, C., Li, W.: A class cohesion metric for object-oriented designs. J. Object-Oriented Program 11(8), 47–52 (1999)
16.
Zurück zum Zitat Counsell, S., Swift, S., Crampton, J.: The interpretation and utility of three cohesion metrics for object-oriented design. ACM Trans. on Softw. Eng. Method. (TOSEM) 15(2), 123–149 (2006)CrossRef Counsell, S., Swift, S., Crampton, J.: The interpretation and utility of three cohesion metrics for object-oriented design. ACM Trans. on Softw. Eng. Method. (TOSEM) 15(2), 123–149 (2006)CrossRef
17.
Zurück zum Zitat Chae, H.S., Kwon, Y.R., Bae, D.: A cohesion measure for object oriented classes. Softw.: Pract. Experience 30(12), 1405–1431 (2000) Chae, H.S., Kwon, Y.R., Bae, D.: A cohesion measure for object oriented classes. Softw.: Pract. Experience 30(12), 1405–1431 (2000)
18.
Zurück zum Zitat Zhou, Y., Xu, B., Zhao, J., Yang, H.: ICBMC: an improved cohesion measure for classes. In: Proceedings of International Conference on Software Maintenance, pp. 44–53 (2002) Zhou, Y., Xu, B., Zhao, J., Yang, H.: ICBMC: an improved cohesion measure for classes. In: Proceedings of International Conference on Software Maintenance, pp. 44–53 (2002)
19.
Zurück zum Zitat Kushwaha, D., Misra, A.: A complexity measure based on information contained in the software. 5th WSEAS International Conference on Software Engineering, Parallel and Distributed Systems (SEPADS 2006), Madrid, Spain (2006) Kushwaha, D., Misra, A.: A complexity measure based on information contained in the software. 5th WSEAS International Conference on Software Engineering, Parallel and Distributed Systems (SEPADS 2006), Madrid, Spain (2006)
20.
Zurück zum Zitat Alghamdi, J.: Measuring software coupling. In: Proceedings of the 6th WSEAS International Conference on Software Engineering, Parallel and Distributed Systems, 6–12, Feb 16–19, Corfu Island, Greece (2007) Alghamdi, J.: Measuring software coupling. In: Proceedings of the 6th WSEAS International Conference on Software Engineering, Parallel and Distributed Systems, 6–12, Feb 16–19, Corfu Island, Greece (2007)
21.
Zurück zum Zitat Kiewkanya, M., Muenchaisri, P.: Measuring maintainability in early phase using aesthetic metrics. In: Proceedings of the 4th WSEAS International Conference on Software Engineering, Parallel and Distributed Systems, 1–6, Feb 13–15, Salzburg, Austria (2005) Kiewkanya, M., Muenchaisri, P.: Measuring maintainability in early phase using aesthetic metrics. In: Proceedings of the 4th WSEAS International Conference on Software Engineering, Parallel and Distributed Systems, 1–6, Feb 13–15, Salzburg, Austria (2005)
Metadaten
Titel
Theoretical Validation of New Class Cohesion Metric Against Briand Properties
verfasst von
Sandip Mal
Kumar Rajnish
Copyright-Jahr
2014
Verlag
Springer India
DOI
https://doi.org/10.1007/978-81-322-1665-0_58