Table of Contents

Simulated Dependency Graph Generation

Simulated dependency graph generator creates a random graph that imitates a module dependency graph. The generator produces a power-law graph due to empirical studies suggest that degrees of the nodes in a typical Module Dependency Graph (MDG) of a software system follow a power law distribution.

History

Algorithm

A typical algorithm for the generation of random graphs with a power law distribution for its degrees utilizes the following simplified process (modified so it applies to a directed graph):

Random dependency graph generator algorithm is a modified version of the above process, since the user may need to apply additional constraints so that the end result resembles more closely an MDG derived from a software system. The implementation allows for two types of constraints:

Implementation

Random dependency graph generator uses some classes from other Java libraries.

Dependency

The JRET, developed at the York University , is a large library that provides a wide range of facilities for reverse engineering in Java.

Download

src_samples.jar