2222
2323# Get the "cypher" directory by taking the path of this script, going one directory up and then into "cypher".
2424CYPHER_DIR=${CYPHER_DIR:- " ${SCRIPTS_DIR} /../cypher" } # Repository directory containing the cypher queries
25- echo " prepareAnalysis: CYPHER_DIR=$CYPHER_DIR "
25+ echo " prepareAnalysis: CYPHER_DIR=${ CYPHER_DIR} "
2626
2727# Define functions to execute a cypher query from within the given file (first and only argument)
2828source " ${SCRIPTS_DIR} /executeQueryFunctions.sh"
2929
3030# Local Constants
31- PACKAGE_WEIGHTS_CYPHER_DIR=" $CYPHER_DIR /Package_Relationship_Weights"
32- PACKAGE_METRICS_CYPHER_DIR=" $CYPHER_DIR /Metrics"
33- EXTERNAL_DEPENDENCIES_CYPHER_DIR=" $CYPHER_DIR /External_Dependencies"
34- ARTIFACT_DEPENDENCIES_CYPHER_DIR=" $CYPHER_DIR /Artifact_Dependencies"
31+ PACKAGE_WEIGHTS_CYPHER_DIR=" ${ CYPHER_DIR} /Package_Relationship_Weights"
32+ PACKAGE_METRICS_CYPHER_DIR=" ${ CYPHER_DIR} /Metrics"
33+ EXTERNAL_DEPENDENCIES_CYPHER_DIR=" ${ CYPHER_DIR} /External_Dependencies"
34+ ARTIFACT_DEPENDENCIES_CYPHER_DIR=" ${ CYPHER_DIR} /Artifact_Dependencies"
3535
36- # Preparation - Create indizes
36+ # Preparation - Create indices
3737execute_cypher " ${CYPHER_DIR} /Create_index_for_full_qualified_type_name.cypher"
3838
3939# Preparation - Create DEPENDS_ON for every DEPENDS_ON_PACKAGE relationship
@@ -52,7 +52,7 @@ execute_cypher_expect_results "${PACKAGE_METRICS_CYPHER_DIR}/Set_Outgoing_Packag
5252
5353# Preparation - Label external types and annotations
5454# "external" means that there is no byte code available, not a primitive type and not a java type
55- # "annoatation " means that there is a ANNOTATED_BY to that external type
55+ # "annotation " means that there is a ANNOTATED_BY to that external type
5656execute_cypher " ${EXTERNAL_DEPENDENCIES_CYPHER_DIR} /Remove_external_type_and_annotation_labels.cypher"
5757execute_cypher " ${EXTERNAL_DEPENDENCIES_CYPHER_DIR} /Label_external_types_and_annotations.cypher"
5858
0 commit comments