ceedling 1.1.6 → 1.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/GIT_COMMIT_SHA +1 -1
- data/Gemfile +4 -0
- data/Gemfile.lock +2 -0
- data/README.md +4 -1
- data/docs/Changelog.md +41 -0
- data/docs/KnownIssues.md +3 -0
- data/docs/mkdocs/configuration/project-file.md +25 -7
- data/docs/mkdocs/configuration/reference/cexception.md +1 -1
- data/docs/mkdocs/configuration/reference/cmock.md +1 -1
- data/docs/mkdocs/configuration/reference/unity.md +1 -1
- data/docs/mkdocs/getting-started/quick-start.md +11 -8
- data/docs/mkdocs/plugins/gcov/gcovr.md +329 -189
- data/docs/mkdocs/plugins/gcov/reportgenerator.md +113 -31
- data/docs/mkdocs/reference/gcov-plugin.md +29 -6
- data/docs/mkdocs/snapshot/plugins/gcov/config/defaults.yml +0 -1
- data/lib/ceedling/c_extractor/c_extractor_declarations.rb +11 -10
- data/lib/ceedling/c_extractor/c_extractor_preprocessing.rb +39 -2
- data/lib/ceedling/generators/generator_test_results_backtrace.rb +21 -11
- data/lib/ceedling/generators/generator_test_runner.rb +5 -1
- data/lib/ceedling/plugins/plugin_reportinator.rb +9 -0
- data/lib/ceedling/plugins/report_tests_stdout_plugin.rb +1 -1
- data/lib/ceedling/preprocess/preprocessinator_line_marker_includes_extractor.rb +6 -1
- data/lib/ceedling/preprocess/preprocessinator_reconstructor.rb +18 -5
- data/lib/version.rb +1 -1
- data/plugins/gcov/config/defaults.yml +0 -1
- data/plugins/gcov/lib/console_reportinator.rb +7 -0
- data/plugins/gcov/lib/gcov.rb +64 -26
- data/plugins/gcov/lib/gcovr_reportinator.rb +91 -47
- data/plugins/gcov/lib/reportgenerator_reportinator.rb +10 -6
- data/plugins/valgrind/lib/valgrind.rb +1 -1
- data/site-local/configuration/project-file.html +78 -8
- data/site-local/configuration/reference/cexception.html +5 -5
- data/site-local/configuration/reference/cmock.html +5 -5
- data/site-local/configuration/reference/unity.html +5 -5
- data/site-local/getting-started/quick-start.html +13 -9
- data/site-local/plugins/gcov/gcovr.html +1220 -255
- data/site-local/plugins/gcov/reportgenerator.html +404 -46
- data/site-local/reference/gcov-plugin.html +48 -10
- data/site-local/sitemap.xml.gz +0 -0
- data/site-local/snapshot/plugins/gcov/config/defaults.yml +0 -1
- data/spec/support/system/system_context.rb +7 -3
- data/spec/system/deployment_as_gem_spec.rb +2 -0
- data/spec/system/deployment_as_vendor_spec.rb +2 -0
- data/spec/system/gcov_deployment_spec.rb +3 -0
- data/spec/system/support/common_test_cases.rb +42 -0
- data/spec/system/support/gcov_common_test_cases.rb +70 -0
- data/spec/units/c_extractor/c_extractor_declarations_spec.rb +16 -0
- data/spec/units/c_extractor/c_extractor_integration_spec.rb +53 -0
- data/spec/units/c_extractor/c_extractor_preprocessing_spec.rb +45 -0
- data/spec/units/generators/generator_partials_spec.rb +98 -0
- data/spec/units/generators/generator_test_results_backtrace_spec.rb +77 -0
- data/spec/units/generators/generator_test_runner_spec.rb +23 -0
- data/spec/units/plugin_reportinator_spec.rb +38 -0
- data/spec/units/preprocess/preprocessinator_line_marker_includes_extractor_spec.rb +64 -0
- data/spec/units/preprocess/preprocessinator_reconstructor_spec.rb +74 -0
- metadata +6 -2
|
@@ -32,10 +32,11 @@ using a Gcovr config file, you must provide explicit exclusion patterns matching
|
|
|
32
32
|
your project layout (example below).
|
|
33
33
|
|
|
34
34
|
```ini
|
|
35
|
-
[gcovr]
|
|
36
35
|
; You will need to revise these example exclude patterns to match your
|
|
37
36
|
; project directories and file naming as they cannot be automatically
|
|
38
37
|
; provided to Gcovr when a Gcovr configuration file is in use.
|
|
38
|
+
;
|
|
39
|
+
; Note: Format is flat `key = value` lines with no `[section]` header.
|
|
39
40
|
|
|
40
41
|
; Test path(s) exclusions for 'test_' files with .c extensions.
|
|
41
42
|
exclude = .*test.*/test_.+\.c$
|
|
@@ -44,12 +45,17 @@ exclude = .*test.*/test_.+\.c$
|
|
|
44
45
|
exclude = .*build/.+\.c$
|
|
45
46
|
```
|
|
46
47
|
|
|
47
|
-
|
|
48
|
+
## Plugin configuration
|
|
48
49
|
|
|
49
|
-
The following
|
|
50
|
-
|
|
51
|
-
you need
|
|
52
|
-
|
|
50
|
+
The following options are exposed through your project configuration file, all
|
|
51
|
+
beneath `:gcov` ↳ `:gcovr`. Only specify those you need or those whose defaults
|
|
52
|
+
you need to override. You do not need to include all these options in your
|
|
53
|
+
Gcov plugin configuration.
|
|
54
|
+
|
|
55
|
+
### `:report_root`
|
|
56
|
+
|
|
57
|
+
The root directory of your source files. File names are reported relative to
|
|
58
|
+
this root. `:report_root` is also the default `:report_include`.
|
|
53
59
|
|
|
54
60
|
!!! warning "`gcovr` accepts only one reporting root path"
|
|
55
61
|
`gcovr` accepts only a single path for `:report_root`. In unusual project
|
|
@@ -57,216 +63,350 @@ include all these options in your Gcov plugin configuration.
|
|
|
57
63
|
_all_ source files and selectively exclude paths or files from coverage
|
|
58
64
|
reporting (see `:report_exclude` and `:exclude_directories`).
|
|
59
65
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
66
|
+
**Default:** `"."` (the current directory)
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
### `:config_file`
|
|
71
|
+
|
|
72
|
+
Load the specified `gcovr` configuration file. (`gcovr --config`)
|
|
73
|
+
|
|
74
|
+
When `:config_file` is set, Ceedling passes only `--root` and `--config` to
|
|
75
|
+
`gcovr` and defers all other configuration to the file. This prevents
|
|
76
|
+
Ceedling from overriding config file values with its CLI arguments.
|
|
77
|
+
`:report_root` is still applied because Ceedling may invoke `gcovr` from a
|
|
78
|
+
different working directory than your project root.
|
|
79
|
+
|
|
80
|
+
To preserve the plugin's base filtering behavior, include exclusion patterns
|
|
81
|
+
matching your project layout in the config file itself — see
|
|
82
|
+
[Gcovr configuration file](#gcovr-configuration-file) above.
|
|
83
|
+
|
|
84
|
+
**Default:** `gcovr.cfg` in the `:report_root` directory, if that file exists.
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
### `:fail_under_line`
|
|
89
|
+
|
|
90
|
+
Exit with a status of 2 if the total line coverage is less than this minimum
|
|
91
|
+
percentage. Can be ORed with the exit status of other `:fail_under_*` options.
|
|
92
|
+
(`gcovr --fail-under-line`)
|
|
93
|
+
|
|
94
|
+
**Values:** `1`–`100`
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
### `:fail_under_branch`
|
|
99
|
+
|
|
100
|
+
Exit with a status of 4 if the total branch coverage is less than this minimum
|
|
101
|
+
percentage. Can be ORed with the exit status of other `:fail_under_*` options.
|
|
102
|
+
(`gcovr --fail-under-branch`)
|
|
103
|
+
|
|
104
|
+
**Values:** `1`–`100`
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
### `:fail_under_decision`
|
|
109
|
+
|
|
110
|
+
Exit with a status of 8 if the total decision coverage is less than this minimum
|
|
111
|
+
percentage. Can be ORed with the exit status of other `:fail_under_*` options.
|
|
112
|
+
(`gcovr --fail-under-decision`)
|
|
113
|
+
|
|
114
|
+
`gcovr` treats `--fail-under-decision` as a no-op without `--decisions` also
|
|
115
|
+
present — setting this option implies `:decisions` (below) automatically, so
|
|
116
|
+
it's never silently non-functional.
|
|
117
|
+
|
|
118
|
+
**Values:** `1`–`100`
|
|
119
|
+
|
|
120
|
+
**Requires:** `gcovr` 7.0 or higher
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
### `:decisions`
|
|
125
|
+
|
|
126
|
+
Report the decision coverage. For HTML, JSON, and the summary report.
|
|
127
|
+
(`gcovr --decisions`)
|
|
128
|
+
|
|
129
|
+
Implied automatically whenever `:fail_under_decision` is set.
|
|
130
|
+
|
|
131
|
+
**Requires:** `gcovr` 5.1 or higher
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
### `:fail_under_function`
|
|
136
|
+
|
|
137
|
+
Exit with a status of 16 if the total function coverage is less than this minimum
|
|
138
|
+
percentage. Can be ORed with the exit status of other `:fail_under_*` options.
|
|
139
|
+
(`gcovr --fail-under-function`)
|
|
140
|
+
|
|
141
|
+
**Values:** `1`–`100`
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
### `:exception_on_fail`
|
|
146
|
+
|
|
147
|
+
If any `:fail_under_*` option above is set and its condition is met, specifies
|
|
148
|
+
whether that condition should break the build. When disabled, Ceedling simply
|
|
149
|
+
logs a warning without breaking the build.
|
|
150
|
+
|
|
151
|
+
**Default:** `false`
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
### `:source_encoding`
|
|
156
|
+
|
|
157
|
+
Select the source file character encoding. (`gcovr --source-encoding`)
|
|
158
|
+
|
|
159
|
+
**Default:** the system default encoding (typically `UTF-8`)
|
|
160
|
+
|
|
161
|
+
---
|
|
162
|
+
|
|
163
|
+
### `:branches`
|
|
164
|
+
|
|
165
|
+
Report the branch coverage instead of the line coverage. Applies to the text
|
|
166
|
+
report only. Uses `gcovr --txt-metric branch` on `gcovr` 7.0+ (`--branches` is
|
|
167
|
+
deprecated as of 7.0, though still functional); `gcovr --branches` below it.
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
### `:sort_uncovered`
|
|
172
|
+
|
|
173
|
+
Sort entries by increasing number of uncovered lines. Applies to text and HTML
|
|
174
|
+
reports. Uses `gcovr --sort uncovered-number` on `gcovr` 7.0+
|
|
175
|
+
(`--sort-uncovered` is deprecated as of 7.0, though still functional);
|
|
176
|
+
`gcovr --sort-uncovered` below it.
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
### `:sort_percentage`
|
|
181
|
+
|
|
182
|
+
Sort entries by increasing percentage of uncovered lines. Applies to text and
|
|
183
|
+
HTML reports. Uses `gcovr --sort uncovered-percent` on `gcovr` 7.0+
|
|
184
|
+
(`--sort-percentage` is deprecated as of 7.0, though still functional);
|
|
185
|
+
`gcovr --sort-percentage` below it.
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
### `:print_summary`
|
|
190
|
+
|
|
191
|
+
Print a small report to stdout with line and branch percentage coverage. This
|
|
192
|
+
is in addition to any other configured reports. (`gcovr --print-summary`)
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
### `:report_include`
|
|
197
|
+
|
|
198
|
+
Keep only source files that match this filter. Filters are regular
|
|
199
|
+
expressions. (`gcovr --filter`)
|
|
200
|
+
|
|
201
|
+
**Example:** `"^src"`
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
### `:report_exclude`
|
|
206
|
+
|
|
207
|
+
Exclude source files that match this filter. Filters are regular expressions.
|
|
208
|
+
(`gcovr --exclude`)
|
|
209
|
+
|
|
210
|
+
**Example:** `"^vendor.*|^build.*|^test.*|^lib.*"`
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
### `:gcov_filter`
|
|
215
|
+
|
|
216
|
+
Keep only `.gcov` data files that match this filter. Filters are regular
|
|
217
|
+
expressions. (`gcovr --gcov-filter`)
|
|
218
|
+
|
|
219
|
+
---
|
|
220
|
+
|
|
221
|
+
### `:gcov_exclude`
|
|
222
|
+
|
|
223
|
+
Exclude `.gcov` data files that match this filter. Filters are regular
|
|
224
|
+
expressions. (`gcovr --gcov-exclude`)
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
### `:exclude_directories`
|
|
229
|
+
|
|
230
|
+
Exclude directories that match this filter while searching for raw coverage
|
|
231
|
+
files. Filters are regular expressions. (`gcovr --exclude-directories`)
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
### `:gcov_executable`
|
|
236
|
+
|
|
237
|
+
Use a particular `gcov` executable. This may be appropriate and necessary in
|
|
238
|
+
special circumstances — review Ceedling's options for modifying tools first.
|
|
239
|
+
(`gcovr --gcov-executable`)
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
### `:exclude_unreachable_branches`
|
|
244
|
+
|
|
245
|
+
Exclude branch coverage from lines without useful source code.
|
|
246
|
+
(`gcovr --exclude-unreachable-branches`)
|
|
247
|
+
|
|
248
|
+
---
|
|
249
|
+
|
|
250
|
+
### `:exclude_throw_branches`
|
|
251
|
+
|
|
252
|
+
For branch coverage, exclude branches that the compiler generates for
|
|
253
|
+
exception handling. (`gcovr --exclude-throw-branches`)
|
|
254
|
+
|
|
255
|
+
---
|
|
256
|
+
|
|
257
|
+
### `:merge_mode_function`
|
|
258
|
+
|
|
259
|
+
For `gcovr` 6.0+, multiple instances of the same function in coverage results
|
|
260
|
+
can cause a fatal error. Since Ceedling can test multiple build variations of
|
|
261
|
+
the same source function, this is a real risk. This option controls how
|
|
262
|
+
`gcovr` merges those repeated entries. See the
|
|
263
|
+
[gcovr merging docs](https://gcovr.com/en/stable/guide/merging.html) for all
|
|
264
|
+
valid values. Ignored on `gcovr` versions below 6.0.
|
|
265
|
+
|
|
266
|
+
**Default:** `merge-use-line-max` (`gcovr`'s own default, `strict`, raises an
|
|
267
|
+
exception for many Ceedling projects)
|
|
268
|
+
|
|
269
|
+
---
|
|
270
|
+
|
|
271
|
+
### `:use_gcov_files`
|
|
272
|
+
|
|
273
|
+
Use existing `.gcov` files for analysis instead of running `gcov` again.
|
|
274
|
+
(`gcovr --use-gcov-files`)
|
|
275
|
+
|
|
276
|
+
**Default:** `false`
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
### `:gcov_ignore_parse_errors`
|
|
281
|
+
|
|
282
|
+
Skip lines with parse errors in `.gcov` files instead of exiting with an
|
|
283
|
+
error. (`gcovr --gcov-ignore-parse-errors`)
|
|
284
|
+
|
|
285
|
+
---
|
|
286
|
+
|
|
287
|
+
### `:object_directory`
|
|
288
|
+
|
|
289
|
+
Override normal working directory detection for `.gcda`/`.gcno` files.
|
|
290
|
+
(`gcovr --object-directory`)
|
|
291
|
+
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
### `:keep`
|
|
295
|
+
|
|
296
|
+
Keep intermediate `.gcov` files after processing. (`gcovr --keep`)
|
|
297
|
+
|
|
298
|
+
---
|
|
299
|
+
|
|
300
|
+
### `:delete`
|
|
301
|
+
|
|
302
|
+
Delete `.gcda` files after processing. (`gcovr --delete`)
|
|
303
|
+
|
|
304
|
+
---
|
|
305
|
+
|
|
306
|
+
### `:threads`
|
|
307
|
+
|
|
308
|
+
Set the number of threads `gcovr` uses in parallel. (`gcovr -j`)
|
|
181
309
|
|
|
182
|
-
# Set the number of threads to use in parallel. (gcovr -j).
|
|
183
|
-
:threads: <count>
|
|
184
|
-
```
|
|
185
310
|
## HTML reports
|
|
186
311
|
|
|
187
312
|
Generation of HTML reports may be modified with the following configuration items.
|
|
188
313
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
314
|
+
### `:html_artifact_filename`
|
|
315
|
+
|
|
316
|
+
Override the default HTML report output filename.
|
|
317
|
+
|
|
318
|
+
---
|
|
319
|
+
|
|
320
|
+
### `:html_title`
|
|
321
|
+
|
|
322
|
+
Use `title` as the title for the HTML report. (`gcovr --html-title`)
|
|
323
|
+
|
|
324
|
+
**Default:** `Head`
|
|
325
|
+
|
|
326
|
+
---
|
|
327
|
+
|
|
328
|
+
### `:html_medium_threshold`
|
|
329
|
+
|
|
330
|
+
If the coverage is below this value, it is marked as low coverage in the HTML
|
|
331
|
+
report. Must be lower than or equal to `:html_high_threshold`. If equal to
|
|
332
|
+
`:html_high_threshold`, the report has only high and low coverage.
|
|
333
|
+
(`gcovr --html-medium-threshold`)
|
|
334
|
+
|
|
335
|
+
**Default:** `75.0`
|
|
336
|
+
|
|
337
|
+
---
|
|
338
|
+
|
|
339
|
+
### `:html_high_threshold`
|
|
340
|
+
|
|
341
|
+
If the coverage is below this value, it is marked as medium coverage in the
|
|
342
|
+
HTML report. Must be greater than or equal to `:html_medium_threshold`. If
|
|
343
|
+
equal to `:html_medium_threshold`, the report has only high and low coverage.
|
|
344
|
+
(`gcovr --html-high-threshold`)
|
|
345
|
+
|
|
346
|
+
**Default:** `90.0`
|
|
347
|
+
|
|
348
|
+
---
|
|
349
|
+
|
|
350
|
+
### `:html_absolute_paths`
|
|
351
|
+
|
|
352
|
+
Use absolute paths to link the "detailed" reports. Defaults to relative
|
|
353
|
+
links. (`gcovr --html-absolute-paths`)
|
|
354
|
+
|
|
355
|
+
---
|
|
356
|
+
|
|
357
|
+
### `:html_encoding`
|
|
358
|
+
|
|
359
|
+
Override the declared HTML report encoding. (`gcovr --html-encoding`)
|
|
360
|
+
|
|
361
|
+
**Default:** `UTF-8`
|
|
218
362
|
|
|
219
363
|
## Cobertura XML reports
|
|
220
364
|
|
|
221
365
|
Generation of Cobertura XML reports may be modified with the following configuration items.
|
|
222
366
|
|
|
223
|
-
|
|
224
|
-
:gcov:
|
|
225
|
-
:gcovr:
|
|
226
|
-
# Set to 'true' to pretty-print the Cobertura XML report, otherwise set to 'false'.
|
|
227
|
-
# Defaults to disabled. (gcovr --xml-pretty)
|
|
228
|
-
:cobertura_pretty: <true|false>
|
|
367
|
+
### `:cobertura_pretty`
|
|
229
368
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
369
|
+
Pretty-print the Cobertura XML report. (`gcovr --xml-pretty`)
|
|
370
|
+
|
|
371
|
+
**Default:** `false`
|
|
372
|
+
|
|
373
|
+
---
|
|
374
|
+
|
|
375
|
+
### `:cobertura_artifact_filename`
|
|
376
|
+
|
|
377
|
+
Override the default Cobertura XML report output filename.
|
|
233
378
|
|
|
234
379
|
## SonarQube XML reports
|
|
235
380
|
|
|
236
381
|
Generation of SonarQube XML reports may be modified with the following configuration items.
|
|
237
382
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
# Override default SonarQube XML report filename.
|
|
242
|
-
:sonarqube_artifact_filename: <filename>
|
|
243
|
-
```
|
|
383
|
+
### `:sonarqube_artifact_filename`
|
|
384
|
+
|
|
385
|
+
Override the default SonarQube XML report output filename.
|
|
244
386
|
|
|
245
387
|
## JSON reports
|
|
246
388
|
|
|
247
389
|
Generation of JSON reports may be modified with the following configuration items.
|
|
248
390
|
|
|
249
|
-
|
|
250
|
-
:gcov:
|
|
251
|
-
:gcovr:
|
|
252
|
-
# Set to 'true' to pretty-print the JSON report, otherwise set 'false'.
|
|
253
|
-
# Defaults to disabled. (gcovr --json-pretty)
|
|
254
|
-
:json_pretty: <true|false>
|
|
391
|
+
### `:json_pretty`
|
|
255
392
|
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
393
|
+
Pretty-print the JSON report. (`gcovr --json-pretty`)
|
|
394
|
+
|
|
395
|
+
**Default:** `false`
|
|
396
|
+
|
|
397
|
+
---
|
|
398
|
+
|
|
399
|
+
### `:json_artifact_filename`
|
|
400
|
+
|
|
401
|
+
Override the default JSON report output filename.
|
|
259
402
|
|
|
260
403
|
## Text reports
|
|
261
404
|
|
|
262
405
|
Generation of text reports may be modified with the following configuration items.
|
|
263
406
|
Text reports may be printed to the console or output to a file.
|
|
264
407
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
# Override default text report filename.
|
|
269
|
-
:text_artifact_filename: <filename>
|
|
270
|
-
```
|
|
408
|
+
### `:text_artifact_filename`
|
|
409
|
+
|
|
410
|
+
Override the default text report output filename.
|
|
271
411
|
|
|
272
412
|
<br/><br/>
|