Skip to content

Commit e992d85

Browse files
committed
Split experimental git history reports from general ones
1 parent e195538 commit e992d85

File tree

3 files changed

+437
-146
lines changed

3 files changed

+437
-146
lines changed

cypher/GitLog/List_pairwise_changed_files_with_dependencies.cypher

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,19 @@ WHERE elementId(firstCodeFile) < elementId(secondCodeFile)
66
WITH firstCodeFile.fileName AS firstFileName
77
,secondCodeFile.fileName AS secondFileName
88
,coalesce(dependency.weight, dependency.cardinality) AS dependencyWeight
9-
,pairwiseChange.updateCommitCount AS commitCount
10-
,pairwiseChange.updateCommitMinConfidence AS updateCommitMinConfidence
11-
,dependency.fileDistanceAsFewestChangeDirectoryCommands AS fileDistanceAsFewestChangeDirectoryCommands
9+
,dependency.fileDistanceAsFewestChangeDirectoryCommands AS fileDistance
10+
,pairwiseChange.updateCommitCount AS commitCount
11+
,pairwiseChange.updateCommitMinConfidence AS updateCommitMinConfidence
12+
,pairwiseChange.updateCommitSupport AS updateCommitSupport
13+
,pairwiseChange.updateCommitLift AS updateCommitLift
14+
,pairwiseChange.updateCommitJaccardSimilarity AS updateCommitJaccardSimilarity
1215
RETURN dependencyWeight
16+
,fileDistance
1317
,commitCount
1418
,updateCommitMinConfidence
15-
,fileDistanceAsFewestChangeDirectoryCommands
19+
,updateCommitSupport
20+
,updateCommitLift
21+
,updateCommitJaccardSimilarity
1622
// ,count(*) AS occurrences
1723
// ,collect(firstFileName + ' -> ' + secondFileName)[0..3] AS examples
1824
ORDER BY dependencyWeight, commitCount

0 commit comments

Comments
 (0)