How We Design Interfaces, and How To Assess It - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2013

How We Design Interfaces, and How To Assess It

Résumé

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.
Fichier principal
Vignette du fichier
abdeen-ICSM2013-How_We_Design_Interfaces_and_How_To_Assess_It.pdf (1.14 Mo) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-00875387 , version 1 (21-10-2013)

Identifiants

Citer

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, ⟨10.1109/ICSM.2013.19⟩. ⟨hal-00875387⟩
81 Consultations
389 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More