1
1
-------------------------------------------------
2
2
- README file for the LTP GCOV extension (LCOV) -
3
- - Last changes: 2023-02-22
3
+ - Last changes: 2024-03-21
4
4
-------------------------------------------------
5
5
6
6
Description
@@ -60,6 +60,8 @@ Further README contents
60
60
bin/gendesc - Tool for creating description files as used by genhtml
61
61
bin/perl2lcov - Tool to translate Perl Devel::Cover data to lcov format
62
62
bin/py2lcov - Tool to translate Python Coverage.py to lcov format
63
+ bin/xml2lcov - Tool to translate Cobertura-like XML coverage data
64
+ to lcov format
63
65
bin/geninfo - Internal tool (creates LCOV data files)
64
66
bin/genpng - Internal tool (creates png overviews of source files)
65
67
man - Directory containing man pages for included tools
@@ -253,6 +255,15 @@ Point the web browser of your choice to the resulting index.html file.
253
255
See 'perl2lcov --help' and the Devel::Cover documentation for more
254
256
information.
255
257
258
+ iv) XML data (for example, generated by Cobertura):
259
+
260
+ - translate XM coverage data to LCOV format:
261
+
262
+ $ xml2lcov --output myData.info coverage.xml [xml2lcov options]
263
+
264
+ See 'xml2lcov --help' and the Cobertura documentation for more
265
+ information.
266
+
256
267
b) Generate an HTML coverage report:
257
268
258
269
Generate an HTML report, combining all of your LCOV data files:
@@ -413,7 +424,7 @@ New features and capabilities fall into 7 major categories:
413
424
414
425
g) Language support
415
426
416
- Added 'py2lcov' and 'perl2lcov ' scripts.
427
+ Added 'py2lcov', 'perl2lcov' and 'xml2lcov ' scripts.
417
428
418
429
- py2lcov:
419
430
@@ -435,6 +446,16 @@ New features and capabilities fall into 7 major categories:
435
446
Note that perl2lcov uses a similar set of command line and
436
447
config file options as lcov, genhtml, and geninfo.
437
448
449
+ - xml2lcov
450
+
451
+ translates XML coverage data to lcov format.
452
+ The XML data may come from Cobertura or similar tools.
453
+
454
+ See "xml2lcov --help" fir brief instructions on how to use
455
+ the translator.
456
+ See the Coburtura documention for directions on how to
457
+ generate XML data.
458
+
438
459
Other languages can be integrated using a similar approach.
439
460
440
461
In general, the new features and options are implemented uniformly in lcov,
0 commit comments