How We Design Interfaces, and How To Assess It

Abstract : Interfaces are widely used in Java applications as central design elements for modular programming to increase program reusability and to ease maintainability of software systems. Despite the importance of interfaces and a considerable research effort that has investigated code quality and concrete classes' design, few works have investigated interfaces' design. In this paper, we empirically study interfaces' design and its impact on the design quality of implementing classes (i.e., class cohesion) analyzing twelve Java object-oriented applications. In this study we propose the "Interface-Implementations Model" that we use to adapt class cohesion metrics to assess the cohesion of interfaces based on their implementations. Moreover, we use other metrics that evaluate the conformance of interfaces to the well-known design principles "Program to an Interface, not an implementation" and "Interface Segregation principle". The results show that software developers abide well by the interface design principles cited above, but they neglect the cohesion property. The results also show that such design practices of interfaces lead to a degraded cohesion of implementing classes, where these latter would be characterized by a worse cohesion than other classes.
Type de document :
Communication dans un congrès
29th IEEE International Conference on Software Maintenance, Oct 2013, Eindhoven, Netherlands. pp.80-89, 2013, 〈10.1109/ICSM.2013.19〉
Liste complète des métadonnées

Littérature citée [29 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-00875387
Contributeur : Hani Abdeen <>
Soumis le : lundi 21 octobre 2013 - 22:29:15
Dernière modification le : mardi 22 octobre 2013 - 12:52:18
Document(s) archivé(s) le : vendredi 7 avril 2017 - 14:30:19

Fichier

abdeen-ICSM2013-How_We_Design_...
Fichiers produits par l'(les) auteur(s)

Identifiants

Citation

Hani Abdeen, Houari Sahraoui, Shata Osama. How We Design Interfaces, and How To Assess It. 29th IEEE International Conference on Software Maintenance, Oct 2013, Eindhoven, Netherlands. pp.80-89, 2013, 〈10.1109/ICSM.2013.19〉. 〈hal-00875387〉

Partager

Métriques

Consultations de la notice

174

Téléchargements de fichiers

331