Class Inheritance Metrics-An Analytical and Empirical Approach
Autor(a) principal: | |
---|---|
Data de Publicação: | 2008 |
Outros Autores: | |
Tipo de documento: | Artigo |
Idioma: | eng |
Título da fonte: | INFOCOMP: Jornal de Ciência da Computação |
Texto Completo: | https://infocomp.dcc.ufla.br/index.php/infocomp/article/view/226 |
Resumo: | Inheritance is a powerful mechanism in Object-Oriented (OO) programming. This mechanism supports the class hierarchy design and captures the IS-A relationship between a super class and its subclass. Several OO metrics have been proposed and their reviews are available in the literature. Among the various measurements of OO characteristics, this paper focuses on the metrics of class inheritance hierarchies. In this paper first a class inheritance metric DITC (Depth of Inheritance Tree of a Class) metric based on finding the depth of inheritance tree of a class (DITC) metric for class inheritance hierarchy in terms of sum of the attributes (private, protected, public and inherited) and methods (private, protected, public and inherited) at each level is proposed, then an analytical evaluation of DITC metric against Weyuker’s axioms [18] is given in discussion part and then attempt has been made to define an empirical relation between development time with respect to its dependence on classes in class inheritance hierarchy at each level. Attempt has also been made to analyze the various dependencies of development time of class in class inheritance hierarchy at each level upon its different class inheritance metric values. Data for several class inheritance hierarchies has been collected from various resources |
id |
UFLA-5_33beb08ad71180d40aa601018c788d0e |
---|---|
oai_identifier_str |
oai:infocomp.dcc.ufla.br:article/226 |
network_acronym_str |
UFLA-5 |
network_name_str |
INFOCOMP: Jornal de Ciência da Computação |
repository_id_str |
|
spelling |
Class Inheritance Metrics-An Analytical and Empirical ApproachObject-Oriented DesignClassesClass Inheritance HierarchyCohesionObject-Oriented MetricsClass Inheritance Metrics.Inheritance is a powerful mechanism in Object-Oriented (OO) programming. This mechanism supports the class hierarchy design and captures the IS-A relationship between a super class and its subclass. Several OO metrics have been proposed and their reviews are available in the literature. Among the various measurements of OO characteristics, this paper focuses on the metrics of class inheritance hierarchies. In this paper first a class inheritance metric DITC (Depth of Inheritance Tree of a Class) metric based on finding the depth of inheritance tree of a class (DITC) metric for class inheritance hierarchy in terms of sum of the attributes (private, protected, public and inherited) and methods (private, protected, public and inherited) at each level is proposed, then an analytical evaluation of DITC metric against Weyuker’s axioms [18] is given in discussion part and then attempt has been made to define an empirical relation between development time with respect to its dependence on classes in class inheritance hierarchy at each level. Attempt has also been made to analyze the various dependencies of development time of class in class inheritance hierarchy at each level upon its different class inheritance metric values. Data for several class inheritance hierarchies has been collected from various resourcesEditora da UFLA2008-09-01info:eu-repo/semantics/articleinfo:eu-repo/semantics/publishedVersionapplication/pdfhttps://infocomp.dcc.ufla.br/index.php/infocomp/article/view/226INFOCOMP Journal of Computer Science; Vol. 7 No. 3 (2008): September, 2008; 25-341982-33631807-4545reponame:INFOCOMP: Jornal de Ciência da Computaçãoinstname:Universidade Federal de Lavras (UFLA)instacron:UFLAenghttps://infocomp.dcc.ufla.br/index.php/infocomp/article/view/226/211Copyright (c) 2016 INFOCOMP Journal of Computer Scienceinfo:eu-repo/semantics/openAccessRajnish, KumarBhattacherjee, Vandana2015-07-01T12:32:18Zoai:infocomp.dcc.ufla.br:article/226Revistahttps://infocomp.dcc.ufla.br/index.php/infocompPUBhttps://infocomp.dcc.ufla.br/index.php/infocomp/oaiinfocomp@dcc.ufla.br||apfreire@dcc.ufla.br1982-33631807-4545opendoar:2024-05-21T19:54:25.800565INFOCOMP: Jornal de Ciência da Computação - Universidade Federal de Lavras (UFLA)true |
dc.title.none.fl_str_mv |
Class Inheritance Metrics-An Analytical and Empirical Approach |
title |
Class Inheritance Metrics-An Analytical and Empirical Approach |
spellingShingle |
Class Inheritance Metrics-An Analytical and Empirical Approach Rajnish, Kumar Object-Oriented Design Classes Class Inheritance Hierarchy Cohesion Object-Oriented Metrics Class Inheritance Metrics. |
title_short |
Class Inheritance Metrics-An Analytical and Empirical Approach |
title_full |
Class Inheritance Metrics-An Analytical and Empirical Approach |
title_fullStr |
Class Inheritance Metrics-An Analytical and Empirical Approach |
title_full_unstemmed |
Class Inheritance Metrics-An Analytical and Empirical Approach |
title_sort |
Class Inheritance Metrics-An Analytical and Empirical Approach |
author |
Rajnish, Kumar |
author_facet |
Rajnish, Kumar Bhattacherjee, Vandana |
author_role |
author |
author2 |
Bhattacherjee, Vandana |
author2_role |
author |
dc.contributor.author.fl_str_mv |
Rajnish, Kumar Bhattacherjee, Vandana |
dc.subject.por.fl_str_mv |
Object-Oriented Design Classes Class Inheritance Hierarchy Cohesion Object-Oriented Metrics Class Inheritance Metrics. |
topic |
Object-Oriented Design Classes Class Inheritance Hierarchy Cohesion Object-Oriented Metrics Class Inheritance Metrics. |
description |
Inheritance is a powerful mechanism in Object-Oriented (OO) programming. This mechanism supports the class hierarchy design and captures the IS-A relationship between a super class and its subclass. Several OO metrics have been proposed and their reviews are available in the literature. Among the various measurements of OO characteristics, this paper focuses on the metrics of class inheritance hierarchies. In this paper first a class inheritance metric DITC (Depth of Inheritance Tree of a Class) metric based on finding the depth of inheritance tree of a class (DITC) metric for class inheritance hierarchy in terms of sum of the attributes (private, protected, public and inherited) and methods (private, protected, public and inherited) at each level is proposed, then an analytical evaluation of DITC metric against Weyuker’s axioms [18] is given in discussion part and then attempt has been made to define an empirical relation between development time with respect to its dependence on classes in class inheritance hierarchy at each level. Attempt has also been made to analyze the various dependencies of development time of class in class inheritance hierarchy at each level upon its different class inheritance metric values. Data for several class inheritance hierarchies has been collected from various resources |
publishDate |
2008 |
dc.date.none.fl_str_mv |
2008-09-01 |
dc.type.driver.fl_str_mv |
info:eu-repo/semantics/article info:eu-repo/semantics/publishedVersion |
format |
article |
status_str |
publishedVersion |
dc.identifier.uri.fl_str_mv |
https://infocomp.dcc.ufla.br/index.php/infocomp/article/view/226 |
url |
https://infocomp.dcc.ufla.br/index.php/infocomp/article/view/226 |
dc.language.iso.fl_str_mv |
eng |
language |
eng |
dc.relation.none.fl_str_mv |
https://infocomp.dcc.ufla.br/index.php/infocomp/article/view/226/211 |
dc.rights.driver.fl_str_mv |
Copyright (c) 2016 INFOCOMP Journal of Computer Science info:eu-repo/semantics/openAccess |
rights_invalid_str_mv |
Copyright (c) 2016 INFOCOMP Journal of Computer Science |
eu_rights_str_mv |
openAccess |
dc.format.none.fl_str_mv |
application/pdf |
dc.publisher.none.fl_str_mv |
Editora da UFLA |
publisher.none.fl_str_mv |
Editora da UFLA |
dc.source.none.fl_str_mv |
INFOCOMP Journal of Computer Science; Vol. 7 No. 3 (2008): September, 2008; 25-34 1982-3363 1807-4545 reponame:INFOCOMP: Jornal de Ciência da Computação instname:Universidade Federal de Lavras (UFLA) instacron:UFLA |
instname_str |
Universidade Federal de Lavras (UFLA) |
instacron_str |
UFLA |
institution |
UFLA |
reponame_str |
INFOCOMP: Jornal de Ciência da Computação |
collection |
INFOCOMP: Jornal de Ciência da Computação |
repository.name.fl_str_mv |
INFOCOMP: Jornal de Ciência da Computação - Universidade Federal de Lavras (UFLA) |
repository.mail.fl_str_mv |
infocomp@dcc.ufla.br||apfreire@dcc.ufla.br |
_version_ |
1799874740831125504 |