You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cypher/CYPHER.md
+16-5Lines changed: 16 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ Script | Directory | Description
9
9
|[Adding_the_artifact_name_temporarily_to_a_new_virtual_node_using_APOC.cypher](./Adding_the_artifact_name_temporarily_to_a_new_virtual_node_using_APOC.cypher)|| Adding the artifact name temporarily to a new virtual node using APOC. Doesn't take all relationships into account and therefore doesn't work yet. |
10
10
|[Adding_the_artifact_name_temporarily_to_the_Package_node_using_map_projection.cypher](./Adding_the_artifact_name_temporarily_to_the_Package_node_using_map_projection.cypher)|| Adding the artifact name temporarily to the Package node using map projection |
11
11
|[Artifacts_with_dependencies_to_other_artifacts.cypher](./Artifact_Dependencies/Artifacts_with_dependencies_to_other_artifacts.cypher)| Artifact_Dependencies | Artifacts with dependencies to other artifacts |
12
+
|[Artifacts_with_duplicate_packages.cypher](./Artifact_Dependencies/Artifacts_with_duplicate_packages.cypher)| Artifact_Dependencies | Artifacts with the same full qualified package name (duplicate packages). These can lead to confusion and provide access to package protected classes to another artifact that might not be intended. |
|[Most_used_internal_dependencies_acreoss_artifacts.cypher](./Artifact_Dependencies/Most_used_internal_dependencies_acreoss_artifacts.cypher)| Artifact_Dependencies | Most used internal dependencies across artifacts |
|[Community_Detection_7d_Modularity.cypher](./Community_Detection/Community_Detection_7d_Modularity.cypher)| Community_Detection | Community Detection Modularity |
90
91
|[Community_Detection_7d_Modularity_Members.cypher](./Community_Detection/Community_Detection_7d_Modularity_Members.cypher)| Community_Detection | Community Detection Modularity Members |
91
92
|[Community_Detection_7e_Write_Modularity.cypher](./Community_Detection/Community_Detection_7e_Write_Modularity.cypher)| Community_Detection | Community Detection Modularity Write |
|[Compare_Louvain_vs_Leiden_Results.cypher](./Community_Detection/Compare_Louvain_vs_Leiden_Results.cypher)| Community_Detection | Compare Louvain vs. Leiden Community Detection Results. Variables: dependencies_projection_node (e.g. "Artifact", "Package", "Type") |
93
95
|[Get_all_Packages_with_a_Community_Detection_Label.cypher](./Community_Detection/Get_all_Packages_with_a_Community_Detection_Label.cypher)| Community_Detection | Get all Packages with a Community Detection Label |
94
96
|[Set_Parameters.cypher](./Community_Detection/Set_Parameters.cypher)| Community_Detection | Example on how to set the parameters for community detaction in this case for Packages and Leiden |
|[External_second_level_package_usage_per_artifact_and_external_package.cypher](./External_Dependencies/External_second_level_package_usage_per_artifact_and_external_package.cypher)| External_Dependencies | External second level package usage per artifact and external package |
144
148
|[External_second_level_package_usage_spread.cypher](./External_Dependencies/External_second_level_package_usage_spread.cypher)| External_Dependencies | External second level package usage spread |
145
149
|[External_types_per_artifact_using_requires.cypher](./External_Dependencies/External_types_per_artifact_using_requires.cypher)| External_Dependencies | External types per artifact using requires |
146
-
|[Label_external_types_and_annotations.cypher](./External_Dependencies/Label_external_types_and_annotations.cypher)| External_Dependencies | Label external types and annotations |
150
+
|[Label_external_types_and_annotations.cypher](./External_Dependencies/Label_external_types_and_annotations.cypher)| External_Dependencies | Label external types and external annotations. Requires 'Label_base_java_types', 'Label_buildin_java_types' and 'Label_resolved_duplicate_types' of 'Types' directory.|
147
151
|[List_external_types_used.cypher](./External_Dependencies/List_external_types_used.cypher)| External_Dependencies | List external types used |
148
152
|[Maven_POMs_and_their_declared_dependencies.cypher](./External_Dependencies/Maven_POMs_and_their_declared_dependencies.cypher)| External_Dependencies | Maven POMs and their declared dependencies |
149
153
|[Remove_external_type_and_annotation_labels.cypher](./External_Dependencies/Remove_external_type_and_annotation_labels.cypher)| External_Dependencies | Remove external type and annotation labels |
|[Set_Parameters.cypher](./Similarity/Set_Parameters.cypher)| Similarity | Example on how to set the parameters for similarity in this case for Packages and Node Similarity |
|[Similarity_1f_Write_Node_Properties.cypher](./Similarity/Similarity_1f_Write_Node_Properties.cypher)| Similarity | Write similar node names and their score per node |
|[Similarity_1d_Stream_Mutated.cypher](./Similarity/Similarity_1d_Stream_Mutated.cypher)| Similarity | Read the similarity relationship from the projection. Variables: dependencies_projection |
|[Similarity_1g_Write_Mutated.cypher](./Similarity/Similarity_1g_Write_Mutated.cypher)| Similarity | Write the Similarity relationship from the projection into the Graph. Variables: dependencies_projection, dependencies_projection_write_property |
|[Similarity_1i_Write_Node_Properties.cypher](./Similarity/Similarity_1i_Write_Node_Properties.cypher)| Similarity | Write similar node names and their score per node |
217
224
|[Topological_Sort_List.cypher](./Topological_Sort/Topological_Sort_List.cypher)| Topological_Sort | Topological Sort to list the properties topologicalSortIndex (e.g. build order) and maxDistanceFromSource (build level) for each code unit node. Needs graph-data-science plugin version >= 2.5.0 |
218
225
|[Topological_Sort_Query.cypher](./Topological_Sort/Topological_Sort_Query.cypher)| Topological_Sort | Topological Sort to query the properties topologicalSortIndex (e.g. build order) and maxDistanceFromSource (build level) for each code unit node in topologicalSortIndex order. Needs graph-data-science plugin version >= 2.5.0 |
219
226
|[Topological_Sort_Write.cypher](./Topological_Sort/Topological_Sort_Write.cypher)| Topological_Sort | Topological Sort to write the properties topologicalSortIndex (e.g. build order) and maxDistanceFromSource (build level) into the graph. Needs graph-data-science plugin version >= 2.5.0 |
227
+
|[Label_base_java_types.cypher](./Types/Label_base_java_types.cypher)| Types | Label primitive Java types and void |
|[Remove_extended_type_labels.cypher](./Types/Remove_extended_type_labels.cypher)| Types | Remove external type and annotation labels |
220
231
|[Global_relative_visibility_statistics_for_types.cypher](./Visibility/Global_relative_visibility_statistics_for_types.cypher)| Visibility | Global relative visibility statistics for types |
221
232
|[Relative_visibility_public_types_to_all_types_per_package.cypher](./Visibility/Relative_visibility_public_types_to_all_types_per_package.cypher)| Visibility | Relative visibility: public types to all types per package |
0 commit comments