Skip to Main content Skip to Navigation
Conference papers

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.
Document type :
Conference papers
Complete list of metadata

Cited literature [29 references]  Display  Hide  Download

https://hal.inria.fr/hal-00875387
Contributor : Hani Abdeen <>
Submitted on : Monday, October 21, 2013 - 10:29:15 PM
Last modification on : Monday, July 20, 2020 - 12:34:51 PM
Long-term archiving on: : Friday, April 7, 2017 - 2:30:19 PM

File

abdeen-ICSM2013-How_We_Design_...
Files produced by the author(s)

Identifiers

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, ⟨10.1109/ICSM.2013.19⟩. ⟨hal-00875387⟩

Share

Metrics

Record views

255

Files downloads

660