JooJ: real-time support for avoiding cyclic dependencies

  • Authors:
  • Hayden Melton;Ewan Tempero

  • Affiliations:
  • University of Auckland, Auckland, New Zealand;University of Auckland, Auckland, New Zealand

  • Venue:
  • ACSC '07 Proceedings of the thirtieth Australasian conference on Computer science - Volume 62
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

The design guideline avoid dependency cycles among modules was first alluded to by Parnas in 1978. Many tools have since been built to detect cyclic dependencies among a program's organisational units, yet we still see real applications riddled with large dependency cycles. Our solution to this problem is to proactively check for dependency cycles as a developer writes code. In this way a cycle can be identified and eliminated the moment any fragment of code is written that induces one. This approach is analogous to a well-known manufacturing quality assurance technique known as poka-yoke. We demonstrate the feasability our 'real-time checking' approach via an Eclipse plugin we have built called JooJ.