analyze

fun analyze(graph: ModuleDependencyGraph, commits: List<CommitChange>, minSharedCommits: Int = DEFAULT_MIN_SHARED_COMMITS, hiddenCouplingThreshold: Double = DEFAULT_HIDDEN_COUPLING_THRESHOLD): TemporalCouplingReport(source)

Analyses temporal coupling for graph over commits.

Return

A TemporalCouplingReport, or TemporalCouplingReport.EMPTY when there is nothing to analyse (no commits, no modules, or no file mapped to a module).

Parameters

minSharedCommits

Pairs with fewer shared commits than this are ignored as noise.

hiddenCouplingThreshold

Undeclared pairs with CoChange.degree at or above this are flagged as hidden coupling.