CoChange

constructor(moduleA: String, moduleB: String, sharedCommits: Int, degree: Double, declared: Boolean)(source)

Parameters

moduleA

First module path (the lexicographically smaller of the pair).

moduleB

Second module path.

sharedCommits

Number of commits that touched both modules.

degree

Coupling strength in [0.0, 1.0]: sharedCommits / min(commitsA, commitsB). 1.0 means the less-churned module never changed without the other.

declared

True when a production (non-test) dependency edge exists between the two modules in either direction - i.e. the co-change is backed by a declared structural link.