analyzeTemporal

fun analyzeTemporal(commits: List<CommitChange>, minSharedCommits: Int = TemporalCouplingAnalyzer.DEFAULT_MIN_SHARED_COMMITS, hiddenCouplingThreshold: Double = TemporalCouplingAnalyzer.DEFAULT_HIDDEN_COUPLING_THRESHOLD): TemporalCouplingReport(source)

Computes temporal (change) coupling for this graph from a window of recent commits.

The commits come from git log, read by the Gradle plugin at execution time; this facade keeps all git I/O out of the report module. Returns TemporalCouplingReport.EMPTY when there is no history to analyse. Format the result with temporalMarkdown / temporalJson.

Parameters

minSharedCommits

Pairs sharing fewer commits than this are dropped as noise.

hiddenCouplingThreshold

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