Skip to content

Commit d15b8ad

Browse files
committed
Restructure documentation
1 parent 24e4ead commit d15b8ad

File tree

1 file changed

+56
-31
lines changed

1 file changed

+56
-31
lines changed

README.md

Lines changed: 56 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,32 @@ The process involves three steps:
1010

1111
1. **Use**: Download the analysis results with [actions/download-artifact](https://github.com/actions/download-artifact) and utilize them as needed.
1212

13-
## Example for TypeScript Code
13+
## Table of Contents
14+
<!-- TOC -->
15+
16+
- [Table of Contents](#table-of-contents)
17+
- [:arrow_forward: Pipeline for TypeScript Code](#arrow_forward-pipeline-for-typescript-code)
18+
- [:arrow_forward: Pipeline for Java Artifacts](#arrow_forward-pipeline-for-java-artifacts)
19+
- [:page_with_curl: CSV Cypher Query Report Reference](#page_with_curl-csv-cypher-query-report-reference)
20+
- [:page_with_curl: Jupyter Notebook Report Reference](#page_with_curl-jupyter-notebook-report-reference)
21+
- [:camera: Image Reference](#camera-image-reference)
22+
- [:arrows_counterclockwise: Keeping the Analysis Workflow Updated with Renovate](#arrows_counterclockwise-keeping-the-analysis-workflow-updated-with-renovate)
23+
- [:page_facing_up: License](#page_facing_up-license)
24+
- [:chart: Analysis Results](#chart-analysis-results)
25+
- [External Dependencies of Java Packages](#external-dependencies-of-java-packages)
26+
- [Dependencies Graph of Java Artifacts](#dependencies-graph-of-java-artifacts)
27+
- [Longest Paths of Java Artifacts](#longest-paths-of-java-artifacts)
28+
- [All Pairs Shortest Paths of Java Packages per Artifact](#all-pairs-shortest-paths-of-java-packages-per-artifact)
29+
- [Object-Oriented Design Metrics for Java Packages](#object-oriented-design-metrics-for-java-packages)
30+
- [Effective Line Count of Java Methods](#effective-line-count-of-java-methods)
31+
- [Cyclomatic Complexity Distribution for Java Methods](#cyclomatic-complexity-distribution-for-java-methods)
32+
- [Visibility of Java Types](#visibility-of-java-types)
33+
- [Communities and Node Embeddings of Java Packages](#communities-and-node-embeddings-of-java-packages)
34+
- [Word Cloud of Git Authors](#word-cloud-of-git-authors)
35+
36+
<!-- /TOC -->
37+
38+
## :arrow_forward: Pipeline for TypeScript Code
1439

1540
This example demonstrates how to analyze TypeScript code in a GitHub Workflows pipeline.
1641

@@ -29,7 +54,7 @@ This example demonstrates how to analyze TypeScript code in a GitHub Workflows p
2954
3055
3. The third job, [analyze-code-graph](https://github.com/JohT/code-graph-analysis-examples/blob/23143b34d8fc6e0ab7d80102d8de0b6e6a4ec98e/.github/workflows/typescript-code-analysis.yml#L99), demonstrates how to download the analysis results and commit them back to the repository.
3156
32-
## Example for Java Artifacts
57+
## :arrow_forward: Pipeline for Java Artifacts
3358
3459
Java artifacts are analyzed similarly to TypeScript code. The main difference is that Java artifacts are downloaded from a Maven repository instead of being part of the repository.
3560
@@ -39,7 +64,35 @@ The first job, [prepare-code-to-analyze](https://github.com/JohT/code-graph-anal
3964
4065
The second and third jobs are the same as for the TypeScript example.
4166
42-
## Analysis Results
67+
## :page_with_curl: CSV Cypher Query Report Reference
68+
69+
[CSV_REPORTS.md](./analysis-results/CSV_REPORTS.md) lists all CSV Cypher query result reports inside the [results](./results) directory. It can be generated as described in [Generate CSV Report Reference](./COMMANDS.md#generate-csv-cypher-query-report-reference).
70+
71+
## :page_with_curl: Jupyter Notebook Report Reference
72+
73+
[JUPYTER_REPORTS.md](./analysis-results/JUPYTER_REPORTS.md) lists all Jupyter Notebook reports inside the [results](./results) directory. It can be generated as described in [Generate Jupyter Notebook Report Reference](./COMMANDS.md#generate-jupyter-notebook-report-reference).
74+
75+
## :camera: Image Reference
76+
77+
[IMAGES.md](./analysis-results/IMAGES.md) lists all PNG images inside the [results](./results) directory. It can be generated as described in [Generate Image Reference](./COMMANDS.md#generate-image-reference).
78+
79+
## :arrows_counterclockwise: Keeping the Analysis Workflow Updated with Renovate
80+
81+
This repository uses [Renovate](https://docs.renovatebot.com) to automatically update the analysis workflow to the latest version. To enable this, add the following extension to your Renovate configuration:
82+
83+
```json
84+
"extends": [
85+
"github>JohT/code-graph-analysis-pipeline//renovate-presets/code-graph-analysis-workflow-latest-digest.json5"
86+
]
87+
```
88+
89+
You can find the complete configuration in the [renovate.json](./renovate.json) file.
90+
91+
## :page_facing_up: License
92+
93+
This repository is licensed under the Apache License, Version 2.0. See [LICENSE](./LICENSE) for the full license text.
94+
95+
## :chart: Analysis Results
4396

4497
Here are ten examples from over a hundred reports generated by the analysis. These examples illustrate the results of analyzing [AxonFramework](https://github.com/AxonFramework/AxonFramework), a Java framework for Evolutionary Message-Driven Microservices on the JVM. For the complete set of reports, visit the [analysis-results](./analysis-results) directory.
4598

@@ -82,31 +135,3 @@ Here are ten examples from over a hundred reports generated by the analysis. The
82135
### Word Cloud of Git Authors
83136

84137
<img src="./analysis-results/AxonFramework/latest/wordcloud/Wordcloud_files/Wordcloud_17_0.png" width="600" alt="Word cloud of git authors">
85-
86-
## :page_with_curl: CSV Cypher Query Report Reference
87-
88-
[CSV_REPORTS.md](./analysis-results/CSV_REPORTS.md) lists all CSV Cypher query result reports inside the [results](./results) directory. It can be generated as described in [Generate CSV Report Reference](./COMMANDS.md#generate-csv-cypher-query-report-reference).
89-
90-
## :page_with_curl: Jupyter Notebook Report Reference
91-
92-
[JUPYTER_REPORTS.md](./analysis-results/JUPYTER_REPORTS.md) lists all Jupyter Notebook reports inside the [results](./results) directory. It can be generated as described in [Generate Jupyter Notebook Report Reference](./COMMANDS.md#generate-jupyter-notebook-report-reference).
93-
94-
## :camera: Image Reference
95-
96-
[IMAGES.md](./analysis-results/IMAGES.md) lists all PNG images inside the [results](./results) directory. It can be generated as described in [Generate Image Reference](./COMMANDS.md#generate-image-reference).
97-
98-
## Keeping the Analysis Workflow Updated with Renovate
99-
100-
This repository uses [Renovate](https://docs.renovatebot.com) to automatically update the analysis workflow to the latest version. To enable this, add the following extension to your Renovate configuration:
101-
102-
```json
103-
"extends": [
104-
"github>JohT/code-graph-analysis-pipeline//renovate-presets/code-graph-analysis-workflow-latest-digest.json5"
105-
]
106-
```
107-
108-
You can find the complete configuration in the [renovate.json](./renovate.json) file.
109-
110-
## License
111-
112-
This repository is licensed under the Apache License, Version 2.0. See [LICENSE](./LICENSE) for the full license text.

0 commit comments

Comments
 (0)