oZone: Layer identification in the presence of cyclic dependencies

  • Authors:
  • Jannik Laval;Nicolas Anquetil;Usman Bhatti;StéPhane Ducasse

  • Affiliations:
  • University of Bordeaux, LaBRI, UMR 5800, F-33400 Talence, France11http://se.labri.fr.;RMoD Team, INRIA Lille - Nord Europe - USTL, France22http://rmod.lille.inria.fr.;RMoD Team, INRIA Lille - Nord Europe - USTL, France22http://rmod.lille.inria.fr.;RMoD Team, INRIA Lille - Nord Europe - USTL, France22http://rmod.lille.inria.fr.

  • Venue:
  • Science of Computer Programming
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

A layered software architecture helps in understanding the role of software entities (e.g. packages or classes) in a system and, hence, the impact of changes on these entities. However, the computation of an optimal layered organization in the presence of cyclic dependencies is difficult. In this paper, we present an approach that (i) provides a strategy supporting the automated detection of cyclic dependencies, (ii) proposes heuristics to break cyclic dependencies, and (iii) computes an organization of software entities in multiple layers even in the presence of cyclic dependencies. Our approach performs better than the other existing approaches in terms of accuracy and interactivity, and it supports human inputs and constraints. In this paper, we present this approach and compare it to existing solutions. We applied our approach on two large software systems to identify package layers and the results are manually validated by software engineers of the two systems.