Skip to content

Commit e3bef97

Browse files
author
Anastasia Kroshkina
committed
Скорректировала согласно правкам
1 parent 6d2b0ae commit e3bef97

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

docs/agent/reachability.en.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,14 @@ To use this feature, you need to set two parameters:
4949
```shell
5050
svace analyze --build-call-graph-only --license-server-url "http(s)://<codescoring_host>" --license-server-token "<token from step 1>"
5151
```
52-
4. Upon successful completion of all steps, a file named `.svace-dir/analyze-res/call-graph/<project_name>-graph-order.json` containing the call graph will appear in the project directory.
52+
4. Upon successful completion of all steps, a file named `.svace-dir/analyze-res/call-graph-results/<project_name>-graph-order.json` containing the call graph will appear in the project directory.
53+
54+
!!! warning "Saving a file"
55+
Prior to Svace version svace-5.0.260311, the call graph file was saved to the folder `.svace-dir/analyze-res/call-graph`
56+
5357
5. Launch the scan using Johnny, for example:
5458
```shell
55-
johnny-linux-amd64 scan dir . --api_url "http(s)://<codescoring_host>" --api_token "<token from step 1>" --cg-path .svace-dir/analyze-res/call-graph/<project_name>-graph-order.json --cg-lang java
59+
johnny-linux-amd64 scan dir . --api_url "http(s)://<codescoring_host>" --api_token "<token from step 1>" --cg-path .svace-dir/analyze-res/call-graph-results/<project_name>-graph-order.json --cg-lang java
5660
```
5761

5862
## Viewing results

docs/agent/reachability.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ hide:
5050
svace analyze --build-call-graph-only --license-server-url "http(s)://<codescoring_host>" --license-server-token "<токен из п.1>"
5151
```
5252
4. В случае успешного выполнения всех шагов в директории проекта появится файл `.svace-dir/analyze-res/call-graph-results/<project_name>-graph-order.json`, содержащий граф вызовов.
53-
!!! warning "Сохранение файла"
54-
До версии Svace svace-5.0.260311 файл с графом вызовов сохранялся в папку `.svace-dir/analyze-res/call-graph`
53+
54+
!!! warning "Сохранение файла"
55+
До версии Svace svace-5.0.260311 файл с графом вызовов сохранялся в папку `.svace-dir/analyze-res/call-graph`
5556

5657
5. Запустить сканирования с помощью Johnny, например:
5758
```shell

0 commit comments

Comments
 (0)