Skip to content

Commit 0c8ae21

Browse files
committed
Add comment for dependencies to other scripts
1 parent 30e05b5 commit 0c8ae21

27 files changed

+55
-1
lines changed

scripts/analysis/analyze.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
# when it comes to subsequent executions.
2929
# Existing downloads, installations, scans and processes will be detected.
3030

31+
# Requires setupNeo4j.sh,setupJQAssistant.sh,startNeo4j.sh,resetAndScanChanged.sh,prepareAnalysis.sh,stopNeo4j.sh,comilations/*.sh,profiles/*.sh
32+
3133
# Overrideable variables with directory names
3234
REPORTS_SCRIPTS_DIRECTORY=${REPORTS_SCRIPTS_DIRECTORY:-"reports"}
3335
REPORT_COMPILATIONS_SCRIPTS_DIRECTORY=${REPORT_COMPILATIONS_SCRIPTS_DIRECTORY:-"compilations"}

scripts/copyReportsIntoResults.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
# Notice that this scripts needs to be executed within the "temp" directory.
88

9+
# Requires generateMarkdownReference.sh
10+
911
## Get this "scripts" directory if not already set
1012
# Even if $BASH_SOURCE is made for Bourne-like shells it is also supported by others and therefore here the preferred solution.
1113
# CDPATH reduces the scope of the cd command to potentially prevent unintended directory changes.

scripts/downloader/downloadAxonFramework.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
# Note: This script is meant to be started within the temporary analysis directory (e.g. "temp/AnalysisName/")
1010

11+
# Requires downloadMavenArtifact.sh
12+
1113
# Get the analysis name from the middle part of the current file name (without prefix "download" and without extension)
1214
SCRIPT_FILE_NAME="$(basename -- "${BASH_SOURCE[0]}")"
1315
SCRIPT_FILE_NAME_WITHOUT_EXTENSION="${SCRIPT_FILE_NAME%%.*}"

scripts/executeQueryFunctions.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
# Provides functions to execute Cypher queries using either "executeQuery.sh" or Neo4j's "cypher-shell".
44

5+
# Requires executeQuery.sh
6+
57
## Get this "scripts" directory if not already set
68
# Even if $BASH_SOURCE is made for Bourne-like shells it is also supported by others and therefore here the preferred solution.
79
# CDPATH reduces the scope of the cd command to potentially prevent unintended directory changes.

scripts/prepareAnalysis.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
# Prepares and validates the graph database before analysis
44

5+
# Requires executeQueryFunctions.sh
6+
57
## Get this "scripts" directory if not already set
68
# Even if $BASH_SOURCE is made for Bourne-like shells it is also supported by others and therefore here the preferred solution.
79
# CDPATH reduces the scope of the cd command to potentially prevent unintended directory changes.

scripts/reports/CentralityCsv.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# The reports (csv files) will be written into the sub directory reports/community.
66
# Note that "scripts/prepareAnalysis.sh" is required to run prior to this script.
77

8+
# Requires executeQueryFunctions.sh
9+
810
# Overrideable Constants (defaults also defined in sub scripts)
911
REPORTS_DIRECTORY=${REPORTS_DIRECTORY:-"reports"}
1012

scripts/reports/CommunityCsv.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# The reports (csv files) will be written into the sub directory reports/community.
66
# Note that "scripts/prepareAnalysis.sh" is required to run prior to this script.
77

8+
# Requires executeQueryFunctions.sh
9+
810
# Overrideable Constants (defaults also defined in sub scripts)
911
REPORTS_DIRECTORY=${REPORTS_DIRECTORY:-"reports"}
1012

scripts/reports/ExternalDependenciesCsv.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# Executes "Package_Usage" Cypher queries to get the "external-dependencies-csv" CSV reports.
44
# They list external library package usage like how often a external package is called.
55

6+
# Requires executeQueryFunctions.sh
7+
68
# Overrideable Constants (defaults also defined in sub scripts)
79
REPORTS_DIRECTORY=${REPORTS_DIRECTORY:-"reports"}
810

scripts/reports/ExternalDependenciesJupyter.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
# how they relate to each other, distribution of Methods and their effective lines of code
66
# and how the cyclomatic complexity is distributed across all Methods per artifact.
77

8+
# Requires executeJupyterNotebook.sh
9+
810
# Overrideable Constants (defaults also defined in sub scripts)
911
REPORTS_DIRECTORY=${REPORTS_DIRECTORY:-"reports"}
1012

scripts/reports/InternalDependenciesCsv.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
# It contains lists of e.g. incoming and outgoing package dependencies,
55
# abstractness, instability and the distance to the so called "main sequence".
66

7+
# Requires executeQueryFunctions.sh
8+
79
# Overrideable Constants (defaults also defined in sub scripts)
810
REPORTS_DIRECTORY=${REPORTS_DIRECTORY:-"reports"}
911

0 commit comments

Comments
 (0)