Cohesion metric for java inner class

Inner class is a helper class that is declared within the body of another class. To date,there is no cohesion metric specially designed for the inner classes. In current practice,the cohesion of inner classes is measured using the class cohesion metrics. However, the existing practice does not obtai...

पूर्ण विवरण

ग्रंथसूची विवरण
मुख्य लेखक: Tee, Sim Hui
स्वरूप: थीसिस
भाषा:अंग्रेज़ी
प्रकाशित: 2012
विषय:
ऑनलाइन पहुंच:http://psasir.upm.edu.my/id/eprint/39329/7/FSKTM%202012%2031R.pdf
_version_ 1846215379342327808
author Tee, Sim Hui
author_facet Tee, Sim Hui
author_sort Tee, Sim Hui
description Inner class is a helper class that is declared within the body of another class. To date,there is no cohesion metric specially designed for the inner classes. In current practice,the cohesion of inner classes is measured using the class cohesion metrics. However, the existing practice does not obtain the actual cohesion of inner class because the role of inner class as a helper class for its outer class is not evaluated. In this thesis, the cohesion of inner class is measured in term of the single functionality it has fostered for the outer class as a whole. A total of 74 inner classes from 15 applications were investigated. This research presents a novel twofold approach in measuring the in-bound cohesion and outbound cohesion for inner classes. The results demonstrate that the proposed metric, namely Inner Class Based-ELCOM (IELCOM), is an improvement of its predecessor External Lack of Cohesion Metric (ELCOM) in terms of measuring the cohesion of inner class. This proposed approach enables the software practitioners to recognize the cohesion of an inner class by considering the functional relationship between inner and outer class as an integrated whole.
format Thesis
id oai:psasir.upm.edu.my:39329
institution Universiti Putra Malaysia
language English
publishDate 2012
record_format eprints
spelling oai:psasir.upm.edu.my:393292015-06-25T04:47:32Z http://psasir.upm.edu.my/id/eprint/39329/ Cohesion metric for java inner class Tee, Sim Hui Inner class is a helper class that is declared within the body of another class. To date,there is no cohesion metric specially designed for the inner classes. In current practice,the cohesion of inner classes is measured using the class cohesion metrics. However, the existing practice does not obtain the actual cohesion of inner class because the role of inner class as a helper class for its outer class is not evaluated. In this thesis, the cohesion of inner class is measured in term of the single functionality it has fostered for the outer class as a whole. A total of 74 inner classes from 15 applications were investigated. This research presents a novel twofold approach in measuring the in-bound cohesion and outbound cohesion for inner classes. The results demonstrate that the proposed metric, namely Inner Class Based-ELCOM (IELCOM), is an improvement of its predecessor External Lack of Cohesion Metric (ELCOM) in terms of measuring the cohesion of inner class. This proposed approach enables the software practitioners to recognize the cohesion of an inner class by considering the functional relationship between inner and outer class as an integrated whole. 2012-07 Thesis NonPeerReviewed application/pdf en http://psasir.upm.edu.my/id/eprint/39329/7/FSKTM%202012%2031R.pdf Tee, Sim Hui (2012) Cohesion metric for java inner class. Masters thesis, Universiti Putra Malaysia. Java (Computer program language) Object-oriented programming (Computer science) Software engineering
spellingShingle Java (Computer program language)
Object-oriented programming (Computer science)
Software engineering
Tee, Sim Hui
Cohesion metric for java inner class
title Cohesion metric for java inner class
title_full Cohesion metric for java inner class
title_fullStr Cohesion metric for java inner class
title_full_unstemmed Cohesion metric for java inner class
title_short Cohesion metric for java inner class
title_sort cohesion metric for java inner class
topic Java (Computer program language)
Object-oriented programming (Computer science)
Software engineering
url http://psasir.upm.edu.my/id/eprint/39329/7/FSKTM%202012%2031R.pdf
url-record http://psasir.upm.edu.my/id/eprint/39329/
work_keys_str_mv AT teesimhui cohesionmetricforjavainnerclass