Skip to content

Commit 8ea27fb

Browse files
author
Rustam Sadykov
committed
update examples
1 parent 58e7a23 commit 8ea27fb

1 file changed

Lines changed: 40 additions & 40 deletions

File tree

docs/NightStatisticsMonitoring.md

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Output example (the result of three runs during one night):
3939
[
4040
{
4141
"target": "guava",
42-
"class_timeout_ms": 20,
42+
"class_timeout_sec": 20,
4343
"run_timeout_min": 20,
4444
"duration_ms": 604225,
4545
"classes_for_generation": 20,
@@ -51,15 +51,15 @@ Output example (the result of three runs during one night):
5151
"methods_with_exceptions": 46,
5252
"suspicious_methods": 85,
5353
"test_classes_failed_to_compile": 0,
54-
"covered_instructions_count": 5753,
55-
"covered_instructions_count_by_fuzzing": 4375,
56-
"covered_instructions_count_by_concolic": 4069,
57-
"total_instructions_count": 10182,
54+
"covered_instructions": 5753,
55+
"covered_instructions_by_fuzzing": 4375,
56+
"covered_instructions_by_concolic": 4069,
57+
"total_instructions": 10182,
5858
"avg_coverage": 62.885408034613
5959
},
6060
{
6161
"target": "guava",
62-
"class_timeout_ms": 20,
62+
"class_timeout_sec": 20,
6363
"run_timeout_min": 20,
6464
"duration_ms": 633713,
6565
"classes_for_generation": 20,
@@ -71,15 +71,15 @@ Output example (the result of three runs during one night):
7171
"methods_with_exceptions": 46,
7272
"suspicious_methods": 38,
7373
"test_classes_failed_to_compile": 0,
74-
"covered_instructions_count": 6291,
75-
"covered_instructions_count_by_fuzzing": 4470,
76-
"covered_instructions_count_by_concolic": 5232,
77-
"total_instructions_count": 11011,
74+
"covered_instructions": 6291,
75+
"covered_instructions_by_fuzzing": 4470,
76+
"covered_instructions_by_concolic": 5232,
77+
"total_instructions": 11011,
7878
"avg_coverage": 62.966064315865275
7979
},
8080
{
8181
"target": "guava",
82-
"class_timeout_ms": 20,
82+
"class_timeout_sec": 20,
8383
"run_timeout_min": 20,
8484
"duration_ms": 660421,
8585
"classes_for_generation": 20,
@@ -91,10 +91,10 @@ Output example (the result of three runs during one night):
9191
"methods_with_exceptions": 44,
9292
"suspicious_methods": 43,
9393
"test_classes_failed_to_compile": 0,
94-
"covered_instructions_count": 6266,
95-
"covered_instructions_count_by_fuzzing": 4543,
96-
"covered_instructions_count_by_concolic": 5041,
97-
"total_instructions_count": 11011,
94+
"covered_instructions": 6266,
95+
"covered_instructions_by_fuzzing": 4543,
96+
"covered_instructions_by_concolic": 5041,
97+
"total_instructions": 11011,
9898
"avg_coverage": 61.59069193429194
9999
}
100100
]
@@ -114,7 +114,7 @@ Input example:
114114
```
115115
--stats_file stats.json --output_file data/meta-stats.json
116116
--commit 66a1aeb6 --branch main
117-
--build 2022.8 --timestamp 1660905157
117+
--build 2022.8 --timestamp 1661174420
118118
--source_type github-action --source_id 2902082973
119119
```
120120

@@ -128,7 +128,7 @@ Output example (an average for each statistic over the three runs followed by me
128128
"version": "0",
129129
"metrics": [
130130
{
131-
"class_timeout_ms": 20,
131+
"class_timeout_sec": 20,
132132
"run_timeout_min": 20,
133133
"duration_ms": 604225,
134134
"classes_for_generation": 20,
@@ -140,14 +140,14 @@ Output example (an average for each statistic over the three runs followed by me
140140
"methods_with_exceptions": 46,
141141
"suspicious_methods": 85,
142142
"test_classes_failed_to_compile": 0,
143-
"covered_instructions_count": 5753,
144-
"covered_instructions_count_by_fuzzing": 4375,
145-
"covered_instructions_count_by_concolic": 4069,
146-
"total_instructions_count": 10182,
143+
"covered_instructions": 5753,
144+
"covered_instructions_by_fuzzing": 4375,
145+
"covered_instructions_by_concolic": 4069,
146+
"total_instructions": 10182,
147147
"avg_coverage": 62.885408034613
148148
},
149149
{
150-
"class_timeout_ms": 20,
150+
"class_timeout_sec": 20,
151151
"run_timeout_min": 20,
152152
"duration_ms": 633713,
153153
"classes_for_generation": 20,
@@ -159,14 +159,14 @@ Output example (an average for each statistic over the three runs followed by me
159159
"methods_with_exceptions": 46,
160160
"suspicious_methods": 38,
161161
"test_classes_failed_to_compile": 0,
162-
"covered_instructions_count": 6291,
163-
"covered_instructions_count_by_fuzzing": 4470,
164-
"covered_instructions_count_by_concolic": 5232,
165-
"total_instructions_count": 11011,
162+
"covered_instructions": 6291,
163+
"covered_instructions_by_fuzzing": 4470,
164+
"covered_instructions_by_concolic": 5232,
165+
"total_instructions": 11011,
166166
"avg_coverage": 62.966064315865275
167167
},
168168
{
169-
"class_timeout_ms": 20,
169+
"class_timeout_sec": 20,
170170
"run_timeout_min": 20,
171171
"duration_ms": 660421,
172172
"classes_for_generation": 20,
@@ -178,10 +178,10 @@ Output example (an average for each statistic over the three runs followed by me
178178
"methods_with_exceptions": 44,
179179
"suspicious_methods": 43,
180180
"test_classes_failed_to_compile": 0,
181-
"covered_instructions_count": 6266,
182-
"covered_instructions_count_by_fuzzing": 4543,
183-
"covered_instructions_count_by_concolic": 5041,
184-
"total_instructions_count": 11011,
181+
"covered_instructions": 6266,
182+
"covered_instructions_by_fuzzing": 4543,
183+
"covered_instructions_by_concolic": 5041,
184+
"total_instructions": 11011,
185185
"avg_coverage": 61.59069193429194
186186
}
187187
]
@@ -195,8 +195,8 @@ Output example (an average for each statistic over the three runs followed by me
195195
"commit_hash": "66a1aeb6",
196196
"branch": "main",
197197
"build_number": "2022.8",
198-
"timestamp": 1661153691,
199-
"date": "2022-08-22T07:34:51",
198+
"timestamp": 1661174420,
199+
"date": "2022-08-22T13:20:20",
200200
"environment": {
201201
"host": "fv-az377-887",
202202
"OS": "Linux version #20~20.04.1-Ubuntu SMP Fri Aug 5 12:16:53 UTC 2022",
@@ -224,7 +224,7 @@ Input example:
224224

225225
```
226226
--input_data_dir ./data --output_file aggregated_data.json
227-
--timestamp_from 0 --timestamp_to 1660905157
227+
--timestamp_from 0 --timestamp_to 1661174420
228228
```
229229

230230
Output example (You'll get an array of several outputs without metadata):
@@ -235,7 +235,7 @@ Output example (You'll get an array of several outputs without metadata):
235235
"version": "0",
236236
"metrics": [
237237
{
238-
"class_timeout_ms": 20,
238+
"class_timeout_sec": 20,
239239
"run_timeout_min": 20,
240240
"duration_ms": 604225,
241241
"classes_for_generation": 20,
@@ -251,10 +251,10 @@ Output example (You'll get an array of several outputs without metadata):
251251
"total_coverage": 56.50166961304262,
252252
"total_coverage_by_fuzzing": 42.967982714594385,
253253
"total_coverage_by_concolic": 39.96267923787075,
254-
"timestamp": 1661158455
254+
"timestamp": 1661174420
255255
},
256256
{
257-
"class_timeout_ms": 20,
257+
"class_timeout_sec": 20,
258258
"run_timeout_min": 20,
259259
"duration_ms": 633713,
260260
"classes_for_generation": 20,
@@ -270,10 +270,10 @@ Output example (You'll get an array of several outputs without metadata):
270270
"total_coverage": 57.133775315593496,
271271
"total_coverage_by_fuzzing": 40.595767868495145,
272272
"total_coverage_by_concolic": 47.51612024339297,
273-
"timestamp": 1661158455
273+
"timestamp": 1661174420
274274
},
275275
{
276-
"class_timeout_ms": 20,
276+
"class_timeout_sec": 20,
277277
"run_timeout_min": 20,
278278
"duration_ms": 660421,
279279
"classes_for_generation": 20,
@@ -289,7 +289,7 @@ Output example (You'll get an array of several outputs without metadata):
289289
"total_coverage": 56.90672963400236,
290290
"total_coverage_by_fuzzing": 41.25874125874126,
291291
"total_coverage_by_concolic": 45.78149123603669,
292-
"timestamp": 1661158455
292+
"timestamp": 1661174420
293293
}
294294
]
295295
}

0 commit comments

Comments
 (0)