File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 1+ // Verify if DEPENDS_ON and CHANGED_TOGETHER_WITH properties are missing
2+
3+ MATCH (firstCodeFile :File )- [ dependency : DEPENDS_ON ] -> (secondCodeFile :File )
4+ MATCH (firstCodeFile )- [ pairwiseChange : CHANGED_TOGETHER_WITH ] - (secondCodeFile )
5+ //WHERE dependency.fileDistanceAsFewestChangeDirectoryCommands IS NULL
6+ //RETURN firstCodeFile, secondCodeFile, dependency
7+ RETURN (pairwiseChange .commitCount IS NULL ) AS commitCountMissing
8+ ,(pairwiseChange .updateCommitMinConfidence IS NULL ) AS updateCommitMinConfidenceMissing
9+ ,(dependency .fileDistanceAsFewestChangeDirectoryCommands IS NULL ) AS fileDistanceMissing
10+ ,(coalesce (dependency .weight , dependency .cardinality ) IS NULL ) AS weightMissing
11+ ,count (* )
Original file line number Diff line number Diff line change @@ -50,6 +50,9 @@ execute_cypher "${GIT_LOG_CYPHER_DIR}/List_git_files_per_commit_distribution.cyp
5050# Data basis for finding out if there is a correlation between pairwise changed files and their dependencies
5151execute_cypher " ${GIT_LOG_CYPHER_DIR} /List_pairwise_changed_files_with_dependencies.cypher" > " ${FULL_REPORT_DIRECTORY} /List_pairwise_changed_files_with_dependencies.csv"
5252
53+ # Verify missing data
54+ execute_cypher " ${GIT_LOG_CYPHER_DIR} /Verify_missing_properties.cypher" > " ${FULL_REPORT_DIRECTORY} /Verify_missing_properties.csv"
55+
5356# Clean-up after report generation. Empty reports will be deleted.
5457source " ${SCRIPTS_DIR} /cleanupAfterReportGeneration.sh" " ${FULL_REPORT_DIRECTORY} "
5558
You can’t perform that action at this time.
0 commit comments