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: COMMANDS.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@
51
51
52
52
The [analyze.sh](./scripts/analysis/analyze.sh) command comes with these command line options:
53
53
54
-
- `--report Csv` only generates CSV reports. This speeds up the report generation and doesn't depend on Python, Jupyter Notebook or any other related dependencies. The default value os `All` to generate all reports. `Jupiter` will only generate Jupyter Notebook reports.
54
+
- `--report Csv` only generates CSV reports. This speeds up the report generation and doesn't depend on Python, Jupyter Notebook or any other related dependencies. The default value os `All` to generate all reports. `Jupiter` will only generate Jupyter Notebook reports. `DatabaseCsvExport` exports the whole graph database as a CSV file (performance intense, check if there are security concerns first).
55
55
56
56
- `--profile Neo4jv4` uses the older long term support (june 2023) version v4.4.x of Neo4j and suitable compatible versions of plugins and JQAssistant. `Neo4jv5` will explicitly select the newest (june 2023) version 5.x of Neo4j. Without setting
57
57
a profile, the newest versions will be used. Profiles are scripts that can be found in the directory [scripts/profiles](./scripts/profiles/).
@@ -123,6 +123,7 @@ to download a Maven artifact into the artifacts directory:
123
123
- `-a <maven artifact name>`
124
124
- `-v <maven artifact version>`
125
125
- `-t <maven artifact type (optional, defaults to jar)>`
126
+
- `-d <target directory for the downloaded file (optional, defaults to "artifacts")>`
126
127
127
128
### Reset the database and scan the java artifacts
Copy file name to clipboardExpand all lines: scripts/SCRIPTS.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,10 @@ Script | Directory | Description
8
8
|[analyze.sh](./analysis/analyze.sh)| analysis | Coordinates the end-to-end analysis process, encompassing tool installation, graph generation, and report generation. |
9
9
|[copyReportsIntoResults.sh](./copyReportsIntoResults.sh)|| Copies the results from the temp directory to the results directory grouped by the analysis name. |
10
10
|[detectChangedArtifacts.sh](./detectChangedArtifacts.sh)|| Detect changed files in the artifacts directory with a text file containing the last hash code of the contents. |
11
+
|[download.sh](./download.sh)|| Downloads a file into the directory of the environment variable SHARED_DOWNLOADS_DIRECTORY (or default "../downloads"). |
11
12
|[downloadMavenArtifact.sh](./downloadMavenArtifact.sh)|| Downloads an artifact from Maven Central (https://mvnrepository.com/repos/central)|
|[analyzeAxonFramework.sh](./examples/analyzeAxonFramework.sh)| examples | This is an example for an analysis of AxonFramework |
13
15
|[executeJupyterNotebook.sh](./executeJupyterNotebook.sh)|| Executes all steps in the given Jupyter Notebook (ipynb), stores it and converts it to Markdown (md) and PDF. |
14
16
|[executeQuery.sh](./executeQuery.sh)|| Utilizes Neo4j's HTTP API to execute a Cypher query from an input file and provides the results in CSV format. |
15
17
|[executeQueryFunctions.sh](./executeQueryFunctions.sh)|| Provides functions to execute Cypher queries using either "executeQuery.sh" or Neo4j's "cypher-shell". |
|[Neo4jv5.sh](./profiles/Neo4jv5.sh)| profiles | Sets all settings variables for an analysis with Neo4j v5.x (newest version as of june 2023). |
23
25
|[CentralityCsv.sh](./reports/CentralityCsv.sh)| reports | Looks for centrality using the Graph Data Science Library of Neo4j and creates CSV reports. |
24
26
|[CommunityCsv.sh](./reports/CommunityCsv.sh)| reports | Detects communities using the Graph Data Science Library of Neo4j and creates CSV reports. |
25
-
|[DatabaseCsvExport.sh](./reports/DatabaseCsvExport.sh)| reports | Exports the whole graph database as a CSV file using the APOC procedure "apoc.export.csv.all" |
26
27
|[ExternalDependenciesCsv.sh](./reports/ExternalDependenciesCsv.sh)| reports | Executes "Package_Usage" Cypher queries to get the "external-dependencies-csv" CSV reports. |
27
28
|[ExternalDependenciesJupyter.sh](./reports/ExternalDependenciesJupyter.sh)| reports | Creates the "overview" report (ipynb, md, pdf) based on the Jupyter Notebook "Overview.ipynb". |
28
29
|[InternalDependenciesCsv.sh](./reports/InternalDependenciesCsv.sh)| reports | Executes "Package_Usage" Cypher queries to get the "internal-dependencies" CSV reports. |
|[WordcloudJupyter.sh](./reports/WordcloudJupyter.sh)| reports | Creates the "overview" report (ipynb, md, pdf) based on the Jupyter Notebook "Overview.ipynb". |
38
39
|[AllReports.sh](./reports/compilations/AllReports.sh)| compilations | Runs all report scripts. |
39
40
|[CsvReports.sh](./reports/compilations/CsvReports.sh)| compilations | Runs all CSV report scripts (no Python and Chromium required). |
41
+
|[DatabaseCsvExportReports.sh](./reports/compilations/DatabaseCsvExportReports.sh)| compilations | Exports the whole graph database as a CSV file using the APOC procedure "apoc.export.csv.all" |
40
42
|[JupyterReports.sh](./reports/compilations/JupyterReports.sh)| compilations | Runs all Jupyter Notebook report scripts. |
41
43
|[resetAndScan.sh](./resetAndScan.sh)|| Deletes all data in the Neo4j graph database and rescans the downloaded artifacts to create a new graph. |
42
44
|[resetAndScanChanged.sh](./resetAndScanChanged.sh)|| Executes "resetAndScan.sh" only if "detectChangedArtifacts.sh" returns detected changes. |
0 commit comments